cancel
Showing results for
Did you mean:

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a \$100 discount. Register Now

Resolver III

multiples statements in a calculated column.

Hey guys, I have the calculated column below, which gives me two options "High Tier" and "Low Tier, but I also need Unknown, which means, these high and low tiers needs to exclude the BrandType = Unknown, and the final outcome should give me:   "High Tier" and "Low Tier and "Unknown". What would be logic here, please?

Tier Type = IF(imei_dashboard[high_tier_ind] = 1, "High Tier","Low Tier")

Thanks a lot!
1 ACCEPTED SOLUTION
Solution Sage

Please create calculated column not measure

4 REPLIES 4
Solution Sage
``````Tier Type = //Try this one might help you
IF(
imei_dashboard[BrandType] = "Unknown",
"Unknown",
IF(
imei_dashboard[high_tier_ind] = 1,
"High Tier",
IF(
imei_dashboard[high_tier_ind] = 0,
"Low Tier",
BLANK()  // Handle cases where neither condition is met
)
)
)``````

Resolver III

Thank you so much @mh2587

A single value for column 'high_tier_ind' in table 'imei_dashboard' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.

Note: The column 'high_tier_ind' in table 'imei_dashboard' is 0 or 1.

Solution Sage

Please create calculated column not measure

Resolver III

Thank you so much!!! @mh2587

Announcements

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors