Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

total of all entries in the table

Hello, I think have  quit a simple problem, but i cannot solve it. 

 number of declinestotal number of requests%
decline reason 15750011%
decline reason 2325006%
decline reason 3405008%
other15050030%

For the first column I do count(table[id]) and it disributes correctly between different reasons, for the 2nd column I do the same but chose option "don't summarize" in vizualization tab . Unfortunatelly obviously when I'm trying to divide 1st column/2nd column I'm getting 100%. How should I correctly calculate my columns to get correct answer in the 3rd column? I was trying groupby and summarization, but nothing works..or I'm doing it incorrectly. Please help!Thanks in advance!

3 REPLIES 3
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,
 
I tested the data provided by you and found that I can get the desired result correctly. Please try to use the divide function to create rhe measure:
% = DIVIDE(MAX(Sheet4[number of declines]),MAX(Sheet4[total number of requests]))
test_divide.PNG
 
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@V-lianl-msft  unfortunatelly it's not working.This part MAX(Sheet4[total number of requests]) doesn't give total.

Anonymous
Not applicable

Thnak you. But unfortunatelly, it's not working because I use the same field from db in number of declines and total number of declines. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.