Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
So I'm trying to build a DAX expression to register the binary #s (O,P,Q columns) into specifc text (R column):
I wrote the following code but its giving me an error:
It's saying the expressions that yield variant data-type cannot be used to define calculated columns.
Any insights in how I can fixt this?
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
Forecast Status CC =
IF (
'Analysis 3'[overforecast] = 1,
"Over forecast",
IF (
'Analysis 3'[underforecast] = 1,
"Under forecast",
IF ( 'Analysis 3'[on target] = 1, "On target", "0" )
)
)
Hi,
Please check the below picture and the attached pbix file.
Forecast Status CC =
IF (
'Analysis 3'[overforecast] = 1,
"Over forecast",
IF (
'Analysis 3'[underforecast] = 1,
"Under forecast",
IF ( 'Analysis 3'[on target] = 1, "On target", "0" )
)
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |