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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
EaglesTony
Post Prodigy
Post Prodigy

I need help on how to calculate a percentage

Hi,

 

  I have the following:

 

Team               Total Points     New Work Points     BAU Work Points

ABC                 282                  237                          45

DEF                    45                   20                           25

 

I need to calculation the percentage of the Total Points for each "New Work Points" and "BAU Work Points".

 

If would look like:

Team               Total Points     New Work Points     BAU Work Points  New Work PCT    BAU Work PCT

ABC                 282                  237                          45                          84%                    16%

DEF                    45                   20                           25                         44%                     55%

 

Total Points on the report is "SUM" as is New Work Points and BAU Work Points.

 

I tried creating a new column with DIVIDE(New Work Points, Total Points) and making that column as "SUM", but for the first Team (ABC), it is giving me 47.00 ?

 

1 ACCEPTED SOLUTION

I was able to fix it. The issue was I was using a column and not a measure.

View solution in original post

10 REPLIES 10
EaglesTony
Post Prodigy
Post Prodigy

Still no luck..I chnaged the format to Percentage and showing 100%

Okey!! 

share me you file on ajen.indra@gmail.com

let me do this!

Cant share it due to company policy.

I was able to fix it. The issue was I was using a column and not a measure.

Ajendra
Resolver I
Resolver I

Hey Dear,

 

Try this...

 

1.JPG

 

2.JPG

 

Thanks!!

That didn't work, for some reason for the first row it calculated 1.00

Change format from the BI-Ribbon of your measure. (Keep that in Percentage)

To get to this, do I create a new column or create a new measure ?..

BAU PCT =
var _TP = MAX([Total Points])
vAR _BAU = MAX(FactTable[BAU Work Points])
VAR _Result = _BAU/_TP
return
_Result
 
 
New Work PCT =
var _TP = MAX([Total Points])
vAR _WP = MAX([New Work Points])
VAR _Result = _WP/_TP
return
_Result

I achived this through "Measure"..you can do it through "Measure" as well!!

 

Please consider as a solution to my reply and mark as solution. Thanks!!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.