Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
hulsbergenw
New Member

Dates on vertical axis?

hulsbergenw_0-1683625339339.png

I have a graph in Excel where you can see the shifting of deadline-dates over time. How do I recreate it in PBI? 

 

Date ReportDate MilestoneFase
24-12-202125-2-2022VO
24-12-20216-5-2022DO
24-12-202115-7-2022TO
15-3-202225-2-2022VO
15-3-20226-5-2022DO
15-3-202215-7-2022TO
18-3-202225-2-2022VO
18-3-202213-5-2022DO
18-3-202222-7-2022TO
15-4-202225-2-2022VO
15-4-202224-5-2022DO
15-4-202216-8-2022TO
16-5-202225-2-2022VO
16-5-202220-6-2022DO
16-5-202229-8-2022TO
15-7-202225-2-2022VO
15-7-202222-7-2022DO
15-7-202230-9-2022TO
14-9-202225-2-2022VO
14-9-202222-7-2022DO
14-9-202211-11-2022TO
25-10-202225-2-2022VO
25-10-202222-7-2022DO
25-10-202210-3-2023TO
11-11-202225-2-2022VO
11-11-202222-7-2022DO
11-11-202213-4-2023TO
5-12-202225-2-2022VO
5-12-202222-7-2022DO
5-12-202213-4-2023TO
11-1-202325-2-2022VO
11-1-202322-7-2022DO
11-1-202328-4-2023TO
30-1-202325-2-2022VO
30-1-202322-7-2022DO
30-1-202328-4-2023TO

 

Update: Added info: 

1. The y-axis shows the deadlines in time

2. The x-axis shows the report-dates

3. The lines are the different milestones, shown in the third column.

 

So for example, Milestone "VO" is stable, it was predicted to be "25-02-2022" in the first report on 24-12-2021, and hasn't moved since. However Milestone "TO" was planned at "25-07-2022" in the first report, but has shifted backwards significantly and was planned at "28-04-2023" in the report of 30-01-2023

1 ACCEPTED SOLUTION
radhey_rec
Resolver II
Resolver II

may be, you can try custom visual Advanced Line Chart ?

View solution in original post

8 REPLIES 8
radhey_rec
Resolver II
Resolver II

may be, you can try custom visual Advanced Line Chart ?

hulsbergenw_0-1683721464162.png

Yes that worked! Too bad it isn't native PBI, while Excel doesn't even blink to perform this trick.

 

ThomasWeppler
Skilled Sharer
Skilled Sharer

I think you need to explain a couple of things about the graph.
1. What does the y-axis show?

2. What does the x-axis show?

3. What does the three diffrent lines show?

1. The y-axis shows the deadlines in time

2. The x-axis shows the report-dates

3. The lines are the different milestones, shown in the third column.

 

So for example, Milestone "VO" is stable, it was predicted to be "25-02-2022" in the first report on 24-12-2021, and hasn't moved since. However Milestone "TO" was planned at "25-07-2022" in the first report, but has shifted backwards significantly and was planned at "28-04-2023" in the report of 30-01-2023

Ok @hulsbergenw I think you might have some follow up questions to this answer although some of it you can solve with the help of google.
1. I would import the tabel you have to a power BI report
2. I would add a calender tabel to you power BI report
3. I would create a connection between the date report and the in the calender tabel.

I would make a line chart with date from the calender tabel (month-year) in x-axis, the reporte date in y-axis and the data from colum with diffrent milestones in Legend.

I hope this will get you in right direction.

Thanks for helping. I have tried all this. There seems to be a fundamental difference between PBI and Excel, I get the following error:

hulsbergenw_0-1683637778067.png

It appear that PBI requires one of the axis to be numerical and can't handle the date value as such. So a measer like MAX(Date Milestone) doesn't work.

 

 

In the end I kind of got it working by adding an index per Report date and using the XY-scatter. However the y-axis looks weird and no lines.

hulsbergenw_1-1683638177953.png

(Can I upload PBIX-files?)

You can edit the x-axis and y-axis by pressing the diagram and pick format visual.

Here you have a lot of options to edit the x-axis I think the best way to solve it is just to play a bit around with the options.

123.png

I've tried it all, but Power BI just isn't capable of formatting a y-axis as date. A custum graph did it in the end.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.