Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi good day can anyone help me on my new column base from my table below, basically if the comments is Cancelled and Tobe- Cancelled the actual colunm should reflect Non-Workable.
OUTPUT
Thank you
Solved! Go to Solution.
Just add [Status] like this
Actual =
SWITCH(
TRUE(),
[Comments] = "Cancelled" || [Comments] = "Tobe- Cancelled" , "Non-Workable",
[Status]
)
regards
Phil
Proud to be a Super User!
Just add [Status] like this
Actual =
SWITCH(
TRUE(),
[Comments] = "Cancelled" || [Comments] = "Tobe- Cancelled" , "Non-Workable",
[Status]
)
regards
Phil
Proud to be a Super User!
What about the other values in the column like Not Started, Completed, In Progress?
You can use IF or SWITCH
Column = IF([Comments] = "Cancelled" || [Comments] = "Tobe- Cancelled" , "Non-Workable")
Column =
SWITCH(
TRUE(),
[Comments] = "Cancelled" || [Comments] = "Tobe- Cancelled" , "Non-Workable"
)
Regards
Phil
Proud to be a Super User!
Hi @PhilipTreacy thank you for the quick reply and for the Actual will copy the word is status column as long its not Cancelled and Tobe- Cancelled in comment column.
Assumed the table named "Test", add a column with DAX,
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 52 | |
| 51 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |