Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to use Milestones feature #168

Open
anku2019 opened this issue Aug 19, 2019 · 21 comments
Open

Question: How to use Milestones feature #168

anku2019 opened this issue Aug 19, 2019 · 21 comments

Comments

@anku2019
Copy link

I am trying to use the new Milestone field to show the milestones as well in the gantt chart but not sure how to use it.

image

@helen508light
Copy link

There are the example and explanation in sample report
https://store.office.com/addinsinstallpage.aspx?rs=en-US&assetid=WA104380765
Use it's dataset as an example

  1. add some field to Milestone bucket(some rows contain string indicating the milestone type, some are empty)
  2. For the empty Milestone rows bars will be rendered as for regular task,
    For completed Milestone rows - as a rectangle\circle\diamond with vertical line and color
    You can change color and shape for each Milestone type from formatting options
  3. Row with completed Milestone field must contain Duration = 0, Name and StartDate

@aribosa
Copy link

aribosa commented Sep 5, 2019

Helen, first of all I appreciate your time.

I have 2 issues:
The Keymilestone formatting menu seems to be empty, no matter if I added values in the milestone field (the milestones appear in the Gantt but nothing in formatting)
In addition, it's possible to eliminate the vertical dashed lines that appear when we add milestones.?

Again, thank you!

@helen508light
Copy link

helen508light commented Sep 9, 2019

Looks like an issue. Could you provide a report to reproduce this? There or by email to pbicvsupport@microsoft.com

There is no formatting setting to eliminate vertical milestone line for now.
You can eliminate it just by changing source code(delete usage of createMilestoneLine method if u want not to use vertical lines always (for milestones and "Today line") or delete rows 2831-2842 if u want not to use it for milestones except of "Today line" )

@aribosa
Copy link

aribosa commented Sep 26, 2019

Looks like an issue. Could you provide a report to reproduce this? There or by email to pbicvsupport@microsoft.com

There is no formatting setting to eliminate vertical milestone line for now.
You can eliminate it just by changing source code(delete usage of createMilestoneLine method if u want not to use vertical lines always (for milestones and "Today line") or delete rows 2831-2842 if u want not to use it for milestones except of "Today line" )

Hi Helen, thank you for your support. Unfortunately, I'm not a Visual Developer and I can't edit the source code.. It's any way to get a .pbix file for this visual that excludes those rows you mentioned?

Thank you!

@helen508light
Copy link

Could you please provide the report to reproduce first issue? We hadn't faced with this problem yet. U may caught some specific issue
About vertical dashed lines: we can't provide any unplanned features without a release. Therefore, there are only 2 ways: you can adjust the visual by your needs or wait for one of the next releases.

@EricChristoph
Copy link

When I open the visual I do not see any Milestones bucket in the fields area; is there a different version?
I'd like to help with this, but have never worked on an open source project before and am not sure how to get started,

@helen508light
Copy link

helen508light commented Oct 10, 2019

@EricChristoph
If u use Desktop, visual version may be cached-> so, u may try old one.
Please clear the cache or use Gantt in the web version.

@jacob1801
Copy link

Hi, is it possible to remove the day lines for Milestones?
For when you have a lot of activities with milestones its hard to see anything for all the lines.
Daylines

@helen508light
Copy link

@jacob1801
thank you for feedback
It's not possible now, i will add it to our backlog

@jamesg1138
Copy link

jamesg1138 commented Apr 29, 2020

I have the same 2 issues

  1. Vertical lines wipe out the visualisation when there are many milestones. Whilst the milestones look fine when scrolling through the pages vertically, the lines persist even when the tasks are off screen. This needs a fix. My workaround is to use a slicer to filter on the individual Parent - not great but at least it provides a cleaner visual for Tasks solely under the Parent

  2. Task Name does not display for Milestones. This can be replicated in the Sample report - simply add "Task Name" to the 'Resource' field. "Task Name" correctly shows to the right hand side of each task (Plumbing, Roof) but not against any Milestone

image

@srikanthmalli
Copy link

srikanthmalli commented Jun 3, 2020

I found another issue, when I use group tasks on, collapsing children and parent level (eg Painting and Roof in above screenshot) bar doesn't show up. When group tasks is off, parent level shows bar with milestones, but issue is seems like duplicated rows on children - one row with bar other with milestone

@helen508light
Copy link

@jamesg1138 Resource Name does not display for Milestones by design

@helen508light
Copy link

@srikanthmalli please sent a .pbix report to reproduce it

@jamesg1138
Copy link

jamesg1138 commented Jun 4, 2020

@jamesg1138 Resource Name does not display for Milestones by design

@helen508light Sorry. To clarify I meant "Task Name" does not Display for Milestones. Task name displays for normal tasks. Look at the 2 milestones below - yellow circle and pink diamond. Is this by design or is this an error?

image

@srikanthmalli
Copy link

@srikanthmalli please sent a .pbix report to reproduce it

@helen508light
Hi, please find the attached pbix. I also see another issue in the attached pbix. When I collapse W12345, I can see the milestone at the parent level for the 1st time. When I expand and collapse after 1st time I don't see the milestone but when I expend the second bar W12346 and collapse I can see the milestone for the 1st bar W12345. I don't see the milestone for 2nd bar W12346 at all when collapsed.
image
image
image

GANTT.zip

@helen508light
Copy link

@jamesg1138 Resource Name does not display for Milestones by design

@helen508light Sorry. To clarify I meant "Task Name" does not Display for Milestones. Task name displays for normal tasks. Look at the 2 milestones below - yellow circle and pink diamond. Is this by design or is this an error?

image

it is by design

@helen508light
Copy link

@srikanthmalli please sent a .pbix report to reproduce it

@helen508light
Hi, please find the attached pbix. I also see another issue in the attached pbix. When I collapse W12345, I can see the milestone at the parent level for the 1st time. When I expand and collapse after 1st time I don't see the milestone but when I expend the second bar W12346 and collapse I can see the milestone for the 1st bar W12345. I don't see the milestone for 2nd bar W12346 at all when collapsed.
image
image
image

GANTT.zip

Thank you for feedback. We'll add it to visual's backlog

@srikanthmalli
Copy link

@srikanthmalli please sent a .pbix report to reproduce it

@helen508light
Hi, please find the attached pbix. I also see another issue in the attached pbix. When I collapse W12345, I can see the milestone at the parent level for the 1st time. When I expand and collapse after 1st time I don't see the milestone but when I expend the second bar W12346 and collapse I can see the milestone for the 1st bar W12345. I don't see the milestone for 2nd bar W12346 at all when collapsed.
image
image
image
GANTT.zip

Thank you for feedback. We'll add it to visual's backlog

Thanks. Do you have any idea when it will be fixed?

@srikanthmalli
Copy link

@srikanthmalli please sent a .pbix report to reproduce it

@helen508light
Hi, please find the attached pbix. I also see another issue in the attached pbix. When I collapse W12345, I can see the milestone at the parent level for the 1st time. When I expand and collapse after 1st time I don't see the milestone but when I expend the second bar W12346 and collapse I can see the milestone for the 1st bar W12345. I don't see the milestone for 2nd bar W12346 at all when collapsed.
image
image
image
GANTT.zip

Thank you for feedback. We'll add it to visual's backlog

Thanks. Do you have any idea when it will be fixed?

Hi, do you have any update on group tasks issue? I also noticed whenever I refresh the dashboard, milestones colors and icons are resetting to default rhombus and default color - blue. Is there any way can we preserve the colors and milestone shapes?

@helen508light
Copy link

@srikanthmalli
Do your milestones have the same name? And do you use grouping?
Issue may be related for enumerateMilestones, getUniqueMilestones methods, if you use grouping for updateCommonMilestones
https://github.com/microsoft/powerbi-visuals-gantt/blob/master/src/gantt.ts#L778
https://github.com/microsoft/powerbi-visuals-gantt/blob/master/src/gantt.ts#L1488

This issue is in our backlog, but it does not has high priority

@NTG001
Copy link

NTG001 commented Sep 16, 2021

Looks like an issue. Could you provide a report to reproduce this? There or by email to pbicvsupport@microsoft.com
There is no formatting setting to eliminate vertical milestone line for now.
You can eliminate it just by changing source code(delete usage of createMilestoneLine method if u want not to use vertical lines always (for milestones and "Today line") or delete rows 2831-2842 if u want not to use it for milestones except of "Today line" )

Hi Helen, thank you for your support. Unfortunately, I'm not a Visual Developer and I can't edit the source code.. It's any way to get a .pbix file for this visual that excludes those rows you mentioned?

Thank you!

Hey, I made some changes and removed the grey lines. See here:

#250 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants