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
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
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