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

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

Reply
Anonymous
Not applicable

percentage for sum and average

Capture4.PNG

I have data like above for report creation.

Alraedy am calculating sum for tria and average for commission using some measures...like below

TRIA sum = CALCULATE(SUM('Sheet1'[TRIA]),'Sheet1'[ENDORSEMENT]=0 )
AVg Commission = CALCULATE (AVERAGE('Sheet1'[Commission]),FILTER('Sheet1',  'Sheet1'[ENDORSEMENT]= 0))
 
I want (%) percentage value for category type Percenatge of Total based on TRIA sum and AVg Commission
 
plse help...

 

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi @Anonymous,

 

Modify your measure as below:

TRIA sum = CALCULATE(SUM('Sheet1'[TRIA]),FILTER(ALL('Sheet1'),'Sheet1'[ENDORSEMENT]=0 &&'Sheet1'[Category]=MAX('Sheet1'[Category])&&'Sheet1'[Type]=MAX('Sheet1'[Type])))
AVg Commission = CALCULATE (AVERAGE('Sheet1'[Commission]),FILTER(ALL('Sheet1'),  'Sheet1'[ENDORSEMENT]=0&&'Sheet1'[Category]=MAX('Sheet1'[Category])&&'Sheet1'[Type]=MAX('Sheet1'[Type])))

Then create a new measure as below:

Percentage of Total=DIVIDE('Sheet1'[TRIA sum],'Sheet1'[AVg Commission])

 

 

Best Regards,
Kelly

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

View solution in original post

1 REPLY 1
v-kelly-msft
Community Support
Community Support

Hi @Anonymous,

 

Modify your measure as below:

TRIA sum = CALCULATE(SUM('Sheet1'[TRIA]),FILTER(ALL('Sheet1'),'Sheet1'[ENDORSEMENT]=0 &&'Sheet1'[Category]=MAX('Sheet1'[Category])&&'Sheet1'[Type]=MAX('Sheet1'[Type])))
AVg Commission = CALCULATE (AVERAGE('Sheet1'[Commission]),FILTER(ALL('Sheet1'),  'Sheet1'[ENDORSEMENT]=0&&'Sheet1'[Category]=MAX('Sheet1'[Category])&&'Sheet1'[Type]=MAX('Sheet1'[Type])))

Then create a new measure as below:

Percentage of Total=DIVIDE('Sheet1'[TRIA sum],'Sheet1'[AVg Commission])

 

 

Best Regards,
Kelly

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

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors