Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Good afternoon,
I was just wondering what can of dax formula can I use to show the max date of my line
the orange line is Actual transaction amount and blue line is the Estimated amount problem is I dont want the orange line to keep going the max date should be may.
Thank you!
Solved! Go to Solution.
Here it is how to do what you want.
Navigate to this page:
Standard time-related calculations – DAX Patterns
and then to this header:
Controlling the visualization in future dates
This shows exactly how to deal with such issues.
Hi, @Callmeadel
You can try the following methods.
Measure:
RunningTotal =
IF (
MONTH ( SELECTEDVALUE ( 'Table'[Date] ) ) <= MONTH ( TODAY () ),
CALCULATE (
SUM ( 'Table'[Actual transaction] ),
FILTER ( ALL ( 'Table' ), [Date] <= SELECTEDVALUE ( 'Table'[Date] ) )
),
BLANK ()
)
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more.
Here it is how to do what you want.
Navigate to this page:
Standard time-related calculations – DAX Patterns
and then to this header:
Controlling the visualization in future dates
This shows exactly how to deal with such issues.
Thank you for the reply, I have created that measure it did say we can't use it on the report so how can it be used to fitler the graph? Do I drag it to filters because it won't let me add it to values.
They wanted me to use it in a column and then use a slicer that makes sense, but my table doesnt have any data after may so everything is returning True which still keeps the line 😞
Hi, @Callmeadel
You can try the following methods.
Measure:
RunningTotal =
IF (
MONTH ( SELECTEDVALUE ( 'Table'[Date] ) ) <= MONTH ( TODAY () ),
CALCULATE (
SUM ( 'Table'[Actual transaction] ),
FILTER ( ALL ( 'Table' ), [Date] <= SELECTEDVALUE ( 'Table'[Date] ) )
),
BLANK ()
)
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more.
Thank you zhangti, I will test your method out
This is a method I used and worked great
Check out the November 2025 Fabric update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!