Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

All Function doest not work

daxHi Everyone.   Im trying to create a measure that gives me the average price for ALL years in my data. But I have followed the instructions on how to use ALL but when I select a a year, my measu...
  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi Anonymous ,

    Sorry for late repsonse. Please try to update the formula of measure All_Yr_NF as below:

    All_Yr_NF = CALCULATE( AVERAGEX(VALUES(Winter_Contracts_Zema[Contract_Year]),[Final_Price_Norm]),ALL(Winter_Contracts_Zema))

    Best Regards

    Rena