Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I have a table that has 4 yes/no fields. I would like to combine these fields into one field and if they have Yes in the cell then I would like for the value to be the field name that is being merged. For example if International (Y/N) is showing Y on a row then I would like for the new merged column to say International (Y/N) instead of Y. See image below.
Solved! Go to Solution.
In Power Query go to the Add Column section and choose Conditional Column. You can add clauses looking at the different columns and set the value accordingly
In Power Query go to the Add Column section and choose Conditional Column. You can add clauses looking at the different columns and set the value accordingly
User | Count |
---|---|
98 | |
91 | |
84 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
66 |