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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi
I have 2 excel sources and data is as below. I want to check for each combination of App and Columns in Excel 1 matches with the combination in Excel 2 and come up with a table which show how many combinations are aligned.
In this e.g. App A1 has 3 columns and they match with the 3 columns in Excel 2. But for App A2, C4 has a match but C5 doesnt have one. So App A1 is aligned 100%, 3 out of 3 are matching and A2 should be 50% as 1 out 2 match.
Please suggest how this can be accomplished? Thanks.
Excel 1 | Excel 2 | ||||
App | Columns | App | Columns | ||
A1 | C1 | A1 | C1 | ||
A1 | C2 | A1 | C2 | ||
A1 | C3 | A1 | C3 | ||
A2 | C4 | A2 | C4 | ||
A2 | C5 | A2 | C6 |
App | % of Columns Aligned? |
A1 | 100 |
A2 | 50 |
Solved! Go to Solution.
@Anonymous , Try a measure like, But for this need to have a common table with column app, joined to both tables
a measure like
countrows(Table1, [app], [column]) - countrows( except(summarize(Table1,[app], [column]), summarize(Table2,[app], [column]) ))
Hi @amitchandak - the solution worked fine, now got slightly different requirement. There can be Apps with '_Test', but this wont be available in excel 2. In this case we have to compare A1_Test with A1 and show as 100%.
I tried to add a new column, trimmed '_Test' part and tried to check with entries in Excel 2. But it is not working as expected, it is considering A1_Test and A1 as A1. Need to display A1 and A1_Test as seperate entries in output. Any suggestions will be highly appreciated.
Thanks.
Excel 1 | Excel 2 | ||||
App | Columns | App | Columns | ||
A1 | C1 | A1 | C1 | ||
A1 | C2 | A1 | C2 | ||
A1 | C3 | A1 | C3 | ||
A2 | C4 | A2 | C4 | ||
A2 | C5 | A2 | C6 | ||
A1_Test | C1 | ||||
A1_Test | C2 | ||||
A1_Test | C3 |
Expected Output
App | % of Columns Aligned? |
A1 | 100 |
A2 | 50 |
A1_Test | 100 |
@Anonymous , Try a measure like, But for this need to have a common table with column app, joined to both tables
a measure like
countrows(Table1, [app], [column]) - countrows( except(summarize(Table1,[app], [column]), summarize(Table2,[app], [column]) ))
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.