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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.