This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Dear All,
I have two tables:
FACT TABLE
| Item | Colour | Size | Value |
| 1 | 5 | 9 | € 4.385 |
| 1 | 6 | 10 | € 3.160 |
| 2 | 5 | 9 | € 3.622 |
| 2 | 6 | 10 | € 9.085 |
| 2 | 7 | 11 | € 5.169 |
| 3 | 8 | 11 | € 9.695 |
| 4 | 6 | 9 | € 6.620 |
| 4 | 8 | 10 | € 4.355 |
TEXT TABLE
| ID | Value |
| 1 | Ring |
| 2 | Bracelet |
| 3 | Crown |
| 4 | Necklace |
| 5 | Yellow |
| 6 | Green |
| 7 | Blue |
| 8 | Black |
| 9 | Small |
| 10 | Medium |
| 11 | Large |
My desired result is the following:
NEW FACT TABLE
| Item | Colour | Size | Value |
| Ring | Yellow | Small | € 4.385 |
| Ring | Green | Medium | € 3.160 |
| Bracelet | Yellow | Small | € 3.622 |
| Bracelet | Green | Medium | € 9.085 |
| Bracelet | Blue | Large | € 5.169 |
| Crown | Black | Large | € 9.695 |
| Necklace | Green | Small | € 6.620 |
| Necklace | Black | Medium | € 4.355 |
I don't think I can manage this through relationships because it is admitted only one relationship between tables. Is merging of queries one for each column the only solution?
Thank you
gianmarco
Solved! Go to Solution.
Dear @Ahmedx , I hope i didn't have to use merge queries each for every column. This is a sample dataset but actually my fact table consists of 30 columns. I thought there could be a more effective solution.
You can achieve it both ways. With relationships (that catalog table will have a 1 to many relationship to the fact table, using the ID column) or using Merge queries within Power Query.
Proud to be a Super User!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 24 | |
| 20 | |
| 20 | |
| 20 | |
| 19 |