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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
I Have a column with values that are either 9 or 4. I need to make all of the 9s show as 8s but leave the 4s as is. I was playing with the "If[ScheduledDuration] = 9, "8",...." but don't know what to use for the "false" qualifer.
Any suggestions would be great.
Solved! Go to Solution.
It works great if I remove the "" from 8. Thanks for your help!
Have you tried just using the result of the field? Like the statement below...
If[ScheduledDuration] = 9, "8", [ScheduledDuration])
It works great if I remove the "" from 8. Thanks for your help!
Cool!
I get the error "Expressions that yield variant data-type cannot be used to define calculated columns"
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 47 | |
| 45 | |
| 33 | |
| 33 | |
| 30 |
| User | Count |
|---|---|
| 136 | |
| 116 | |
| 58 | |
| 58 | |
| 56 |