Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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" )
)
)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
14 | |
12 | |
11 | |
10 | |
8 |