Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi all, I want to add a column in PBI Query in my existing table.
Basically, I have 2 column, Name and In/Ex.
Name | In/Ex |
Ali | In |
Ali | Ex |
Ali | Ex |
Abu | In |
Amat | Ex |
Name | In/Ex |
Ali | In |
Abu | In |
Amat | Ex |
Solved! Go to Solution.
Hello,
You can achieve this result by doing the following:
1 - Group by data rows by Name and concatenas all the values from In/Ex.
2 - Based on the new column In/Ex, create a custom column (or just transform the current one) applying the logic: if the text contains "In" then return "In, otherwise, return "Ex".
These are the 2 steps you can add to the query:
Hello,
You can achieve this result by doing the following:
1 - Group by data rows by Name and concatenas all the values from In/Ex.
2 - Based on the new column In/Ex, create a custom column (or just transform the current one) applying the logic: if the text contains "In" then return "In, otherwise, return "Ex".
These are the 2 steps you can add to the query:
User | Count |
---|---|
93 | |
86 | |
78 | |
72 | |
66 |
User | Count |
---|---|
115 | |
106 | |
85 | |
65 | |
64 |