Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi I have below metrics data
Here I need another measure as TotalOrders so that it shows 71 for all Complaint codes for Less Than 1 Hr and so on for rest of the buckets.
Actually I wanted to create a % of orders for Complaint in a bucket so here for Arrived Warm for Less than 1 hr it would be 6/71 i.e 8.45%
Same way for Product Damaged/Crushed for less than 2 Hrs it woudl be 9/49 i.e. 18.43%
Your guidance is appreciated, kindly note this is metrics where columns are Buckets and rows are Complaint Notes.
Thanks
Solved! Go to Solution.
Hi @Anonymous ,
Test the below :
create a new table2:
Table2 = SELECTCOLUMNS('Table',"VarCompCode",'Table'[VarCompCode],"Type",'Table'[Type]&" "&"%","value",'Table'[value]/CALCULATE(SUM('Table'[value]),FILTER(ALL('Table'),'Table'[Type]=EARLIER('Table'[Type]))))
Then union the two table:
Table3 = UNION('Table',Table2)
Fianl create the below visual:
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
Hi @Anonymous ,
Test the below :
create a new table2:
Table2 = SELECTCOLUMNS('Table',"VarCompCode",'Table'[VarCompCode],"Type",'Table'[Type]&" "&"%","value",'Table'[value]/CALCULATE(SUM('Table'[value]),FILTER(ALL('Table'),'Table'[Type]=EARLIER('Table'[Type]))))
Then union the two table:
Table3 = UNION('Table',Table2)
Fianl create the below visual:
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
Hi,
Assuming the numbers there are a result of a measure, write this measure
% of total = divide([your measure],calculate([your measure],all(Data[Complaint Notes])))
Hope this helps.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 39 | |
| 29 | |
| 24 |