Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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:
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |