Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello,
I need some help on clashing two sets of data, they are in different formats (see below). What I need to do is return a value if Data Set 2 is on Date Set 1 and vice versa.
I'm very new to DAX so not sure where to look, I think it would be an IF AND MATCH statement but not sure if there is a better way to get the results I need.
Thanks in advance 😁
Solved! Go to Solution.
Cool.
So you could create a new custom column in Dataset1 called 'itemList' (or similar) which is just:
= {[From]..[To]}
Then expand this column to new rows.
Once you've done this, you can do a FULL OUTER merge on:
Dataset1 [ID], [itemList] = Dataset2 [ID], [From]
Expand DS2 [ID] and [From] keeping the original table name in the new column names.
You'll end up with a table that has complete rows where the tables match, and null values on either side where the tables don't match.
Hope this makes sense.
Pete
Proud to be a Datanaut!
Hi @Shelley-Baynton ,
Does this have to be done in DAX, or can it be done in Power Query?
Pete
Proud to be a Datanaut!
Cool.
So you could create a new custom column in Dataset1 called 'itemList' (or similar) which is just:
= {[From]..[To]}
Then expand this column to new rows.
Once you've done this, you can do a FULL OUTER merge on:
Dataset1 [ID], [itemList] = Dataset2 [ID], [From]
Expand DS2 [ID] and [From] keeping the original table name in the new column names.
You'll end up with a table that has complete rows where the tables match, and null values on either side where the tables don't match.
Hope this makes sense.
Pete
Proud to be a Datanaut!
Works perfectly! Thank you 😀
Okay. That makes sense. Let me give it a try and see what happens.
Thanks 🙂
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 |