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.
Hi everyone,
I'm making a Dax measure to calculate a YTD, my measure is :
Solved! Go to Solution.
Can you try like
YTD =
var _max = max(table[date])
TOTALYTD([Monthly TNQ],'Calendar'[Date],'Calendar'[Date]<=_max)
Hi @Anonymous
Try something like
Sales YTD =
IF(
NOT ISEMPTY( Sales ),
CALCULATE(
[Sales],
DATESYTD( 'Calendar'[Date] )
)
)
Hi @Anonymous
Try something like
Sales YTD =
IF(
NOT ISEMPTY( Sales ),
CALCULATE(
[Sales],
DATESYTD( 'Calendar'[Date] )
)
)
Hi @Mariusz
It does work and this is the results comparing Y vs Y-1 :
How can I get the results like is shown in this graph :
Thank you !
Best regards.
Can you try like
YTD =
var _max = max(table[date])
TOTALYTD([Monthly TNQ],'Calendar'[Date],'Calendar'[Date]<=_max)
this is the results on my bar chart graph :
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
78 | |
75 | |
52 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |