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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Vosjeee7502
Frequent Visitor

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors