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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Deepak3Arora
Frequent Visitor

Divide by a Group

Hi Guys,

 

I am trying to Divide a data by a Sum of Data grouped on 2 columns.

 

Below is my Data:

DateTypeResult

1-Sep-22Type AGood
2-Sep-22Type ABad
3-Sep-22Type AGood
4-Sep-22Type BBad
5-Sep-22Type BGood
12-Oct-22Type BBad
13-Oct-22Type BGood
14-Oct-22Type CGood
15-Oct-22Type CGood

 

Result Needed is:

 %age of Good 
MatrixSeptember'22October'22
   
Type A(2/3)*100 = 66.666666670
Type B5050
Type C0100

 

How can I Achieve it?

2 ACCEPTED SOLUTIONS
jennratten
Super User
Super User

Hello - I have attached a sample pbix demonstrating how you can achieve the result.

jennratten_1-1653661728581.png

 

View solution in original post

v-jingzhang
Community Support
Community Support

Hi @Deepak3Arora 

 

Try this measure

vjingzhang_0-1653991225320.png

 

Also, add Month column to the table. Sort Month column by Month number column. 

vjingzhang_1-1653991252565.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @Deepak3Arora 

 

Try this measure

vjingzhang_0-1653991225320.png

 

Also, add Month column to the table. Sort Month column by Month number column. 

vjingzhang_1-1653991252565.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Deepak3Arora
Frequent Visitor

Hello @jennratten ,

 

Thanks for the Details.

 

But I just need Percentage of Good, Divide by that current group(Based on Type and Month) Total.

For eg : Sepetmber Type A% - 66.6%

 

Sorry If I could not detail it out well earlier.

 

Regards

Deepak

jennratten
Super User
Super User

Hello - I have attached a sample pbix demonstrating how you can achieve the result.

jennratten_1-1653661728581.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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