Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Conditional kolomn in query editor

Dear, 

 

I have an issue where we work with a lot of different zone types. Now i want to narrow these down to just 3 option so i think i have to add an extra colomn in the query editor. However i have no experience with the DAX formula's etc. 

 

The 2 options are "Koel/vries" and "Ambient"

 

The following zones should all result in the kolomn calculating "Koel/vries":

+2°C +8°C

-20°C -25°C

-35°C -45°C

-65°C -85°C

-70°C -90°C

BHSC

BHSDGC

Bonded Cool

BRICS

CD2 +2°C +8°C

COOL_AND_FREEZE

CY +2°C +8°C

DG1 +2°C +8°C

DG1 -65°C -85°C

DG3 +2°C +8°C

HS +2°C +8°C

KROON_ZONE

 

The following zones should all result in the kolomn calculating "Ambient":

+15°C +25°C

BHSA

Bonded Ambient

BONDED_AND_AMBIENT

CD +15°C +25°C

CY +15°C +25°C

DG1 +15°C +25°C

DG2 +15°C +25°C

DG3 +15°C +25°C

HI +15°C +25°C

HS +15°C +25°C

 

Everything else should result in "onbekend"

 

Hopefully you can help

 

BR Kevin

1 ACCEPTED SOLUTION
ray_aramburo
Super User
Super User

Are the zones text strings?





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
ray_aramburo
Super User
Super User

Are the zones text strings?





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors