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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Thomasp75
Frequent Visitor

Percentage between two columns in different tables with grouping

Hello everyone, 

 

I am having an issue regarding the computation of what seemed trivial at first but has taken me way too long now.

I have two tables with 4 columns each : three column that share the same name and a fourth with the actual numbered value.

 

I want to be able to calculate the percentage of one table as compared to the other. For example, I have :

 

Table 1:

 

 

col1col2col3col4
janaar2
janaas4
janbbt5
febaau1
febbbv8
febccw7
maraax3
marbby10
marbbz2

 

and table two with the same format. I want the output table to group by col1, col2 and col3 in both table and return the ratio of col4 between both tables..


I hope my question was clear enough...

Thanks for your help

Thomas

1 ACCEPTED SOLUTION

4 REPLIES 4
Thomasp75
Frequent Visitor

Thank you Ahmed. However I am using calculated tables that are not available in Power Query... I would like to do it using DAX

 

ok, pls try

Screenshot_2.png

Thank you so much ! Exactly what I needed 🙂 

Thank you Ahmed

Ahmedx
Super User
Super User

to know how to do this watch my video

https://1drv.ms/v/s!AiUZ0Ws7G26RjDB4TUJfiY_RnnkS?e=HMuTaM

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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