The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
I'm searching for a smart way to pick the right value from a configuration file.
I have a table where I want to assign a certain value in a calculated column "Profile" based on the values in some of the other columns.
Here is an example table named "Issues":
I would like to compare the values in "Category 1", "Category 2" and "Category 3" with the value in the configuration table name "Profiles" if there is an exact match in "Category 1, "Category 2" and "Category 3" I want this value from the Profiles[Name] to appear in the calculated column named Issues[Profile]
Here is a example table named "Profiles":
i would like to be able to extent the number of Categories quiet easy.
Any suggestion is appriciated.
Solved! Go to Solution.
Hi You can achieve this using one step process of merging two queries in Query Mode. You can see in attached screenshots.
Choose all three columns Category 1,2 and 3 while merging both queries
Expand and Rename new column
final result
Thanks & Regards,
Bhavesh
Hi You can achieve this using one step process of merging two queries in Query Mode. You can see in attached screenshots.
Choose all three columns Category 1,2 and 3 while merging both queries
Expand and Rename new column
final result
Thanks & Regards,
Bhavesh
Hi Bhavesh,
Briliant, simple and neat just what I needed, thanks
User | Count |
---|---|
65 | |
60 | |
55 | |
54 | |
31 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
46 |