Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am new to POWER BI so I might not have been able to look on the forum properly.
I would like to create a new column that will populate specific text based on another cell text. There are mutiple text value in the first column Type A, Type B and Type C. I would like to display Active for Type A, Inactive for Type B and Null for Type C in a new added column. I have tried the IF(AND ...) function but I get stuck from Logical 2.
Thanks in advance
Solved! Go to Solution.
Hi @corange
You may create a calculated column with SWITCH Function as below:
Column = SWITCH ( [Column1], "Type A", "Active", "Type B", "Inactive", "Type C", "" )
Regards,
Hi @corange
You may create a calculated column with SWITCH Function as below:
Column = SWITCH ( [Column1], "Type A", "Active", "Type B", "Inactive", "Type C", "" )
Regards,
Hi,
It worked like a charm
Thank you so much for your help.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |