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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

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

15 REPLIES 15
mabdul-c
Frequent Visitor

im really shocked to see powerbi as top BI tool surpassing tableau, with so much of limitations, while in tableau we can do so much custom work no limitation, now i really doubt the ranking of BI tools in magic quadrant chart. 

21ksai
Regular Visitor

21ksai_0-1731510448922.png

I have tried this but am still unable to get dates on the axis 

can anyone help me with this, I was trying to plot a line graph and try to do the same 

Hi @21ksai ,

 

You need to change the Primary Y axis -> Type to either Date or Auto.  Please try.

Thank you for your reply,  it worked and got the desired output.

Anonymous
Not applicable

Y-axis on a line chart will not accept date values.

Hi @Anonymous ,

 

Sorry for not giving enough clarification. I was talking about Advanced Line Chart custom visual and not the native one.

 

Thanks.

radhey_rec
Resolver II
Resolver II

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

Anonymous
Not applicable

hulsbergenw_0-1683721464162.png

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

 

Hi 
i am looking for the same solution can you please please provide the solution howyou achived it

Thanks In advance

ThomasWeppler
Impactful Individual
Impactful Individual

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?

Anonymous
Not applicable

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 @Anonymous 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.

Anonymous
Not applicable

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

Anonymous
Not applicable

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors