Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Sorry, couldn't even figure it out the correct vocabulary to ask 😞
I have a product table from the server that looks like this:
Product Table
Group, Subgroup, and Subsubgroup are separate tables used to characterize the product.
Group Table
Subgroup Table
Subsubgroup Table
I'm not able to relate all of them due to the non-unique values. (there is no empty cell)
Any thoughts on how to make this work? 🙂
Solved! Go to Solution.
Add calculated columns that concatenate the IDs to get keys you can create a relationship on. If the IDs might be more than 1-digit ever, be sure to add delimiters.
I.e.
Subgroup Key = [Group ID]&"|"&[Subgroup ID]
Subsubgroup Key = [Group ID]&"|"&[Subgroup ID]&"|"&[Subsubgroup ID]
Note that you shouldn't have a problem creating relationship to the Group table with just [Group ID] - it's only the other two you have to do the above for.
Add calculated columns that concatenate the IDs to get keys you can create a relationship on. If the IDs might be more than 1-digit ever, be sure to add delimiters.
I.e.
Subgroup Key = [Group ID]&"|"&[Subgroup ID]
Subsubgroup Key = [Group ID]&"|"&[Subgroup ID]&"|"&[Subsubgroup ID]
Note that you shouldn't have a problem creating relationship to the Group table with just [Group ID] - it's only the other two you have to do the above for.
It worked! Thanks!!
The IDs are two digits. How do I add delimiters?
The example DAX I provided is already inserting | as delimiters. That's the '&"|"&' portion between the column references.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 37 | |
| 29 | |
| 24 |