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.
Solved! Go to Solution.
Hello @Casiqueno
Give this a try.
YTD RT = VAR FinalDate = MAX ( Energy[Date] ) VAR MonthStart = FIRSTDATE ( 'Date'[Date] ) RETURN IF ( MonthStart > FinalDate, blank(), CALCULATE ( SUMX ( VALUES ( 'Date'[Month_Year] ), [Relative] ), DATESYTD( ( 'Date'[Date] ) ) ) )
Hello @Casiqueno
Give this a try.
YTD RT = VAR FinalDate = MAX ( Energy[Date] ) VAR MonthStart = FIRSTDATE ( 'Date'[Date] ) RETURN IF ( MonthStart > FinalDate, blank(), CALCULATE ( SUMX ( VALUES ( 'Date'[Month_Year] ), [Relative] ), DATESYTD( ( 'Date'[Date] ) ) ) )
Hi @jdbuchanan71 ,
this works perfectly! Thank you very much for your very valuable help on this matter and your rapid answer!
I will now try to understand the logic behind :-).
Thank you again!
Regards,
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 |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |