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! Request now

Reply
Anonymous
Not applicable

Line Chart X-Axis range does not work with dynamic date

I have a line chart which looks at a specific item from a data table, the chart looks at two fields which are:
1. Cummulative spend on the y-axis
2. Date on the x-axis (Date is based off of a DIM Date table)

 

I am trying to set the maximum range of the line chart x-axis to the maximum of a date in the data table however this is not working.

However, if I put the same date in manually it will filter the x-axis range.

Max date from data table (Used in the X-Axis Range):

Bahughes_0-1692868274035.png

X-Axis Range:

Bahughes_3-1692868535587.png

 



Current Line Chart:

Bahughes_1-1692868352772.png

 

The cummulative spend goes to null after TODAY() and is then forecasted.

Bahughes_2-1692868406947.png

 

How do I get the dynamic date to function the same as the hardcoded date?

1 REPLY 1
lbendlin
Super User
Super User

Have your measure return BLANK() for dates you want to suppress.

 

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

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
Top Kudoed Authors