Forum Discussion
Dragonfury
3 years agoFrequent Visitor
Creating Buckets Based on Measure Results
I'm new to powerBI so some assistance would be very appreciated. I couldn't find a solution in the search, so hopefully, I am not duplicating effort. In PowerBI I'm trying to visualize customer o...
- 3 years ago
Hi Dragonfury ,
- You need create a measure:
Outstanding balance % per customer = DIVIDE(SUM(Table_[ Outstanding Balance ]),SUM(Table_[ Balance ]))- After, create a calculate column:
Bucket = SWITCH(TRUE(), [Outstanding balance % per customer]>0.1,">10%", [Outstanding balance % per customer]<=0.05,"0-5%", "5%-10%")- Pie Chart result: Use calculate column Bucket for your legend
I hope it works for you, Best regards
Bifinity_75
3 years agoSolution Sage
Hi Dragonfury ,
- You need create a measure:
Outstanding balance % per customer = DIVIDE(SUM(Table_[ Outstanding Balance ]),SUM(Table_[ Balance ]))- After, create a calculate column:
Bucket = SWITCH(TRUE(),
[Outstanding balance % per customer]>0.1,">10%",
[Outstanding balance % per customer]<=0.05,"0-5%",
"5%-10%")- Pie Chart result: Use calculate column Bucket for your legend
I hope it works for you, Best regards