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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
angevin17
Microsoft Employee
Microsoft Employee

How to compute percentage of column

Hello,

I have a column in a table called name and that is accociated with another column called count. I'm trying to make a new column/measure that finds the total count and then divides each count row by that total count.

I made a quick example below:

I have the name and count columns. I want to add the count column and then divide each count row by that total count.

angevin17_0-1627602338249.png

 

 

Thank you so much!

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Picture1.png

 

Percentage CC =
DIVIDE(Data[Count], SUM(Data[Count]))
 
 
 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

View solution in original post

2 REPLIES 2
Jihwan_Kim
Super User
Super User

Picture1.png

 

Percentage CC =
DIVIDE(Data[Count], SUM(Data[Count]))
 
 
 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

ryan_mayu
Super User
Super User

@angevin17 

maybe you can try

countrows(table) /  calculate(countrows(table),all(table))





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

Proud to be a Super User!




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.