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,
I need your help for solving this. I am creating a YTD average by using the below formulas
Correct Result that i need:
Challenge:-
As soon as i filter a date from the slicer the YTD average value is giving me blank result instead of the corresponding value as shown in the above table.
Am i missing something in the DAX can you please help?
Solved! Go to Solution.
@akhil148265 , The first formula, averageX should use calculate in expression
example
averageX(Values(Data[Sample Date]), calculate(Sum(Table[Value])) )
for YTD try time intelligence
YTD Sales = CALCULATE(averageX(Values('Date'[Date]), calculate(Sum(Table[Value])) ) ,DATESYTD('Date'[Date],"12/31"))
Power BI — Year on Year with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
https://www.youtube.com/watch?v=km41KfM_0uA
@akhil148265 , The first formula, averageX should use calculate in expression
example
averageX(Values(Data[Sample Date]), calculate(Sum(Table[Value])) )
for YTD try time intelligence
YTD Sales = CALCULATE(averageX(Values('Date'[Date]), calculate(Sum(Table[Value])) ) ,DATESYTD('Date'[Date],"12/31"))
Power BI — Year on Year with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
https://www.youtube.com/watch?v=km41KfM_0uA
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 |
---|---|
96 | |
94 | |
82 | |
70 | |
64 |
User | Count |
---|---|
116 | |
106 | |
94 | |
79 | |
72 |