Forum Discussion
simple_AVG_formula
- 7 years ago
HI Ashish_Mathur Anonymous and OwenAuger v-jiascu-msft unfortunately that does not work. In this situation I am getting the same result as I had originally.
Let me explain. Category_Breakdown ties to Total_Score and that is correct. However, the Category_Breakdown2 (the formula you shared) is giving me the same results as Category_Breakdown. When I do the math of happy-mad I expect Category_Breakdown to tie to Total_Score and it does! However, I need this to be the same for the new AVG formula that I am leveraging. I need my AVG formula to tie back to the Category Breakdown2; however, it doesn't. Essentially, I need my happy-mad=avg.
Let me know something happens to not make sense!
Ashish_Mathur Hi Ashish did you have any thoughts on how I could make this work? I am open to alternatives if the AVERAGE(SUMMARIZE dax may not would work.
- Ashish_Mathur7 years agoSuper User
Your question is not clear to me. That is why i did not contribute.
- nmck867 years agoPost Patron
Ashish_Mathur v-jiascu-msft I am hoping to get my average category breakdown amounts happy customers 71.35% and mad customers 27.24% to equal my average 52.28%. Basically the average function is disregarding months with no values. I want my calculation to do a straight average over the months selected. For instance, Jan-October I want an average over all 10 months even if a few months do not have values. See below the mad customers does not have a value for every month so it is bringing in a percentage of 27.24 which is the avg of the months with values and it is excluding any month that doesn't currently have a value. Hope this makes more sense for sure!
- nmck867 years agoPost Patron
Ashish_Mathur this seems very close to what you did here in this post https://community.powerbi.com/t5/Desktop/including-blanks-in-an-average-with-summarize/td-p/332922
I tried to use that function but it didn't work for me.
- v-chuncz-msft7 years agoCommunity Support