Forum Discussion
Anonymous
8 years agoNot applicable
Average Formula
How can I build a DAX formula that will return the average of the highlighted column. I'm trying to do this to get the average by year & quarter:
Anonymous
8 years agoNot applicable
Anonymous Sure:
And if it makes a difference, I unpivoted my original table to look like this:
So everything in the last 2 columns originally had their own column. I don't know if the unpivot throws this kind of formula off. So positive feedback would be everything that consists of a positive sounding value (strongly agree, agree, happy, very happy).
Anonymous
8 years agoNot applicable
I think this should work :
avg = CALCULATE(AVERAGEx(zero,Zero[Column1]/Zero[Column2]) ,ALLEXCEPT(Zero,Zero[Quarter],Zero[Year]))
Note : Zero is table name I have created