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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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