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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
deanbland
Helper III
Helper III

Calculating Percentages

Hi, 

 

deanbland_0-1613042427684.png

 

I am trying to calculate percentages based off of the total pre row. So, in row ADS, next to number 20, there would be a % value of 25% (as 25% of 79 is 20 when rounded up). I want to do this for all columns in all rows. 

 

The dataset I have looks like this (See below) and all current attempts at writing DAX formulas and calculations have failed...

deanbland_1-1613042668169.png

 

 

Your help would be greatly appreciated. 

 

Thanks!

 

 

1 ACCEPTED SOLUTION
jaideepnema
Solution Sage
Solution Sage

@deanbland 
Create a Measure like this 

Percentage % = 

var countnum=CALCULATE(COUNT(Data[KPI Checklist Outcome]),ALLEXCEPT(Data,Data[Sector]))

return DIVIDE(COUNT(Data[KPI Checklist Outcome]),countnum,BLANK())

Here is the link in case you want to download the file
 
Please accept this as a solution if this answers your question !!
Appreciate a Kudos 😀

View solution in original post

4 REPLIES 4
jaideepnema
Solution Sage
Solution Sage

@deanbland 
Create a Measure like this 

Percentage % = 

var countnum=CALCULATE(COUNT(Data[KPI Checklist Outcome]),ALLEXCEPT(Data,Data[Sector]))

return DIVIDE(COUNT(Data[KPI Checklist Outcome]),countnum,BLANK())

Here is the link in case you want to download the file
 
Please accept this as a solution if this answers your question !!
Appreciate a Kudos 😀
jaideepnema
Solution Sage
Solution Sage

Hi @deanbland ,

Basis the information provided by you in your query. I tried replicating the scenario with the sample data as shown below:

jaideepnema_1-1613043586743.png

 

Is this what you are trying to achieve ?

 

jaideepnema_0-1613043564711.png

 

Hi @jaideepnema

 

That is exactly what I am trying to do! How did you go about doing this? 

 

Thanks you 🙂 

Pragati11
Super User
Super User

Hi @deanbland ,

 

Can you attach your sample data in a file please? Screenshot doesn't help.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.