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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Power BI Community!
I want to show the last value on the chart like this:
and it works with this measure:
Solved! Go to Solution.
Hi, @Anonymous
Try to create a measure like this:
Last Value =
IF (
MAX ( Dates[Date] ) = MAXX ( ALLSELECTED ( 'Dates'[Date] ), 'Dates'[Date] ),
[Measure]
)
result:
Please refer to the attachment below for details
Hope this helps.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Try to create a measure like this:
Last Value =
IF (
MAX ( Dates[Date] ) = MAXX ( ALLSELECTED ( 'Dates'[Date] ), 'Dates'[Date] ),
[Measure]
)
result:
Please refer to the attachment below for details
Hope this helps.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
Take a look at this post discussing the topic.
@Anonymous
When if you try it without TODAY()?
Todays Value =
VAR maxdate =
CALCULATE ( MAX ( Dates[Date] ), ALLSELECTED ( Dates[Date] ) )
RETURN
IF ( MAX ( Dates[Date] ) = maxdate, [Measure] )
@Anonymous
I see where I went wrong, my ALLSELECTED was too narrow. I think this will give you what you are looking for without having to iterate all of the selected dates.
Todays Value =
VAR maxdate =
CALCULATE ( MAX ( Dates[Date] ), ALLSELECTED ( Dates ) )
RETURN
IF ( MAX ( Dates[Date] ) = maxdate, [Measure] )
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |