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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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:
| col1 | col2 | col3 | col4 |
| jan | aa | r | 2 |
| jan | aa | s | 4 |
| jan | bb | t | 5 |
| feb | aa | u | 1 |
| feb | bb | v | 8 |
| feb | cc | w | 7 |
| mar | aa | x | 3 |
| mar | bb | y | 10 |
| mar | bb | z | 2 |
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
Solved! Go to Solution.
Thank you Ahmed. However I am using calculated tables that are not available in Power Query... I would like to do it using DAX
Thank you so much ! Exactly what I needed 🙂
Thank you Ahmed
to know how to do this watch my video
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 46 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 198 | |
| 125 | |
| 102 | |
| 69 | |
| 53 |