Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
Basically, I am trying to map the "Mapping Table" to my "Primary Data".
Here are the dummy data to illustrate the logic intended. As you can see, the columns highlighted in grey are the variables for Primary Data, which are also found in Mapping Table as the conditions.
How it should work? All 3 variables from primary data must tally with mapping table in order to output the respective country and model. For instance, for the first row of the data 11111, Seagate and Hard drive - it will give me US and A respectively [as illustrated in End Result].
So here are my queries:
This is just a dummy data; in actuality, I have over 60+ different brands, and 60+ different products - so it is not possible for me to create multiple rows.
Please let me know if you need more information to assist my case here.
Thank you, and appreciate your support and guidance.
Solved! Go to Solution.
I think you can create a column in both tables like
Mapping Column = IF ( 'Table'[Account number] = "99999", 'Table'[Account number],
COMBINEVALUES( "|", 'Table'[Account number], 'Table'[Brand], 'Table'[Product])
)
where 'Table' would be the table you are creating the column in. You should then be able to create a one-to-many relationship from your mapping table to your primary data
I think you can create a column in both tables like
Mapping Column = IF ( 'Table'[Account number] = "99999", 'Table'[Account number],
COMBINEVALUES( "|", 'Table'[Account number], 'Table'[Brand], 'Table'[Product])
)
where 'Table' would be the table you are creating the column in. You should then be able to create a one-to-many relationship from your mapping table to your primary data
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |