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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

Create a simple date graph

Hello everybody,

I would like to create a simple line graph where I have dates on the X-axis and the cumulative number of diffusion dates and the cumulative number of expected diffusion dates on my Y-axis.

 

I have created a date table with the formula Calendar = CALENDARAUTO() for my X-axis.

 

For the Y-axis, I have a table with the real diffusion date and the expected diffusion date for each document (no diffusion date if no diffusion). I expected to see the progression of the number of diffusions.

 

For a reason I don't get, the graph shows only the total number of diffusion date and the total number of expected diffusion date I have in my table.

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @Anonymous 

 

Download sample PBIX file with this data/chart

 

You need to rearrange your data so that the Y-axis is plotting numeric values rather than dates.  Something like this

vals4.png

 

You can then plot this chart with Real/Expected as the Legend

chart1.png

 

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

2 REPLIES 2
PhilipTreacy
Super User
Super User

Hi @Anonymous 

 

Download sample PBIX file with this data/chart

 

You need to rearrange your data so that the Y-axis is plotting numeric values rather than dates.  Something like this

vals4.png

 

You can then plot this chart with Real/Expected as the Legend

chart1.png

 

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Anonymous
Not applicable

Thank you, it seems to solve my problem ! 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.