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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.