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
manjeshjk
Helper I
Helper I

How to calculate percentage for a particular column with different groups

Hi All,

 

How to calculate percentage for a particular column with different groups. I am not able to visualize how to achieve this.

 

sample data

---------------

DateCurreExchange RateAmountAge

Customer

1-JanUSD856000> 15 DaysA
2-JanEUR885600> 15 DaysA
3-JanEUR88.25555> 15 DaysD
4-JanEUR88.25433< 15 DaysF
5-JanUSD84.344322< 15 DaysG
6-JanUSD86.345556< 15 DaysG
6-JanUSD87.21000> 15 DaysG
6-JanUSD87.21000> 15 DaysF

 

Expected Output Data

--------------

 

Age    
< 15 Days< Days%> 15 Days> 15 Days%Total
543384%100016%6433

 

I need this calculated data in the Matrix Grid 

 

manjeshjk_0-1674098054498.png

 

Appreciate your feedback/comments/suggestions.

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

Hi , @manjeshjk 

According to your description, you want to get the % of the row in the Matrix visual .

Here are the steps you can refer to :

We can create a measure like this:

Measure = DIVIDE(SUM('Table'[Amount]) , CALCULATE( SUM('Table'[Amount]) , ALLSELECTED('Table'[Age])))

Then we can put it on the visual and we can meet your need:

vyueyunzhmsft_0-1674183669436.png

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
v-yueyunzh-msft
Community Support
Community Support

Hi , @manjeshjk 

According to your description, you want to get the % of the row in the Matrix visual .

Here are the steps you can refer to :

We can create a measure like this:

Measure = DIVIDE(SUM('Table'[Amount]) , CALCULATE( SUM('Table'[Amount]) , ALLSELECTED('Table'[Age])))

Then we can put it on the visual and we can meet your need:

vyueyunzhmsft_0-1674183669436.png

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Appreciate the support, works as expected.

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.