This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
So again I am trying to do row by row multiplicaiton using measures, and I end up with the wrong sum.
The first expression below, Sales_Uncleaned, all seems to work, the correct sum is achieved, on total and on all aggregated categories.
Hi @1up
You'll want to wrap the original calc in a sumx...
Sales_Uncleaned:= SUMX (
'Combined',
DIVIDE(max('Combined'[Sales_2019]),max('Combined'[Potential_2019]))
)
You may have to modify the query a bit as I am not sure what your original table looks like.
-Paul
Thanks for the reply.
I tried, and I get wrong sums unfortunately for the starting expression, using this code. Now the %-ages are in the thousands. On individual base category it works though. I wrote as below;
Perhaps I should add, I have two categories in the table. One column is a unique category, let's call them A, B, C, D, E etc. The other one is a group which includes certain categories, so let's say Cat1 includes (A, C), Cat2 includes (B, D, E).
Summarizing on the aggregated Cat#-categories, gives the wrong result, and on total sum...
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 9 | |
| 9 | |
| 7 | |
| 6 | |
| 6 |