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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
Check out the November 2025 Power BI 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!