This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi,
I have a column 1 with all my costumers and I have other column 2 where I categorize them as "G" and "O" what I want is a new column 3 where I have all the costumers O by name and all the customers that belong to G, only have a G insted of the costumer name
Example column 3
Customer 1 (all the customers that are in category O will appear with the name as column 1)
Customer S
Customer 45
Customer AB
G (all the customers that are in this category will appear with a G instead of the name as column 2)
Solved! Go to Solution.
Hi @Anonymous ,
Create either a Calculated Column. The Below is how the DAX will look
Column3 = IF(Column2 = "G", Column2, Column1)
If you want more clarity refer the below link
IF function (DAX) - DAX | Microsoft Learn
If you share some sample data and expected output, the DAX can be more focused
Hi @Anonymous ,
Create either a Calculated Column. The Below is how the DAX will look
Column3 = IF(Column2 = "G", Column2, Column1)
If you want more clarity refer the below link
IF function (DAX) - DAX | Microsoft Learn
If you share some sample data and expected output, the DAX can be more focused
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 28 | |
| 27 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 35 | |
| 33 | |
| 25 | |
| 24 |