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
sabeensp
Helper IV
Helper IV

Percent of Column

Hello,

 

Being new to PBI, it is hard for me but maybe not for you.

 

I need to find out % of total.

In one table I have Customers and Transactions

Cust ------- Transaction
A                 1

B                 1
C                1

D                1

A                1

A                1

 

I've created a meesure COUNT(Transactions) which comes to 6
I have a filter, which allows user to select Cust.

 

I need to find out the % of Transactions by selected Cust. so If user select CUST A the 3/6 and etc.

 

Appreciate your help.

2 ACCEPTED SOLUTIONS

@sabeensp Oh ok !! Then, update the measure logic as below (And Don't use "show value as" option for this)

 

Test120 = 
VAR _Total = CALCULATE(SUM(Test120Measure[Trans]),ALL(Test120Measure))
VAR _CustTotal = SUM(Test120Measure[Trans])/_Total
return _CustTotal

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




View solution in original post

v-chuncz-msft
Community Support
Community Support
4 REPLIES 4
v-chuncz-msft
Community Support
Community Support

PattemManohar
Community Champion
Community Champion

@sabeensp You just create a measure with total as below and then use the option "Show value as "

 

Test120 = SUM(Test120Measure[Trans])

image.pngimage.png

 

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




I tried that, but when I select cutomer from the filter, it shows 100%.

@sabeensp Oh ok !! Then, update the measure logic as below (And Don't use "show value as" option for this)

 

Test120 = 
VAR _Total = CALCULATE(SUM(Test120Measure[Trans]),ALL(Test120Measure))
VAR _CustTotal = SUM(Test120Measure[Trans])/_Total
return _CustTotal

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




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.