cancel
Showing results for
Did you mean:

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Responsive Resident

## 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
Super User

Please create calculated column not measure

Proud to be a Super User!

4 REPLIES 4
Super User
``````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
)
)
)``````

Proud to be a Super User!

Responsive Resident

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.

Super User

Please create calculated column not measure

Proud to be a Super User!

Responsive Resident

Thank you so much!!! @mh2587

Announcements

#### Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

#### Power BI Monthly Update - April 2024

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

#### Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors