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
Anonymous
Not applicable

Show dates after last data point in visual

Hi 

 

I have a stacked column chart showing my orders on y axis and dates on x axis. The problem is that the x axis ends on the date of the latest order. I'd like to be able to see if there have been a few days without orders so I'd like the x-axis to end on the current date. Any way to do this? I know I can set a fixed date to x-axis start and end but how about setting the end date dynamically to always be the date when the report is viewed.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

I would create a data table calculated by calendar(min([orderdate],today()), then make the relationship and choose the column from thta table to the x axis.

 

Let me know if it worked, if so mark as solution.

 

BR,

DR

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

 

I would create a data table calculated by calendar(min([orderdate],today()), then make the relationship and choose the column from thta table to the x axis.

 

Let me know if it worked, if so mark as solution.

 

BR,

DR

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.