Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello
I'm doing % margin calculation(row total /grand total) which seem doesnt work with below dax expression always getting 100% for every row., uploaded sample data file in dropbox. I'm doing 2 step calulation
attributes are
rows : costcenter, employee, task
columns : month(time)
Measure column values
1 Task total = calculate (sum[value], values(taskname))
2) Grand total = calculate (sum[value], values(month))
3) divide (tasktotal, grandtotal).
thanks
vs
Solved! Go to Solution.
Hi,
You may download my PBI file from here.
Hope this helps.
This really worked @Ashish_Mathur , but i'm looking for monthly contribution % for every task,
sum of tasks/ sumof month.
Hi,
You may download my PBI file from here.
Hope this helps.
This really worked @Ashish_Mathur , but i'm looking for monthly contribution % for every task,
sum of tasks/ sumof month.
Hi,
Try this measure
Measure 2 = divide([Values],CALCULATE([Values],all(Data[ Name]),ALL(Data[Task])))
Hope this helps.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |