Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
So i have data in which i need to create new column which will be the sum of categories and after that i need to pivot them within Power Bi. I tryed Creating Calculated Column cash Paid Sum = CALCULATE(SUM(Table3[cash paid]),ALLEXCEPT(Table3,Table3[Category])) But after i tried to pivot them it showed me tottaly different numbers. For ex in shwon model from this formula after pivoting i would get in jan for AA category 6*176=1056 becouse it would summerize 176 for each line. How can i get results shown on the picture.
Solved! Go to Solution.
I got it working by creating the following calculated measure
New Measure = DIVIDE(SUM('Table1'[Paid]) , SUM('Table1'[Charged]))
Here is a link to the PBIX file so you can have a play
https://1drv.ms/u/s!AtDlC2rep7a-oXqLNxZIwNhHJ9PB
I got it working by creating the following calculated measure
New Measure = DIVIDE(SUM('Table1'[Paid]) , SUM('Table1'[Charged]))
Here is a link to the PBIX file so you can have a play
https://1drv.ms/u/s!AtDlC2rep7a-oXqLNxZIwNhHJ9PB
Thank you! works perfectly.
If anyone interested this will work for Hierarchies as well.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |