Forum Discussion

mahnoor1279's avatar
mahnoor1279
Frequent Visitor
4 years ago
Solved

If with multiple conditions

Hey everyone i want to make a bucket for entries 

testing = if('data'[hours] = blank() && 'data'[hour] = 7.25 ,"partially",

if('data'[hours] >=7.25 "over booked","fully booked")))

 

  • Use this

    = SWITCH(TRUE(),'data'[hours]<7.25,"Partially",'data'[hours]>7.25,"Overbooked","Fully booked")

1 Reply

  • Vijay_A_Verma's avatar
    Vijay_A_Verma
    Most Valuable Professional

    Use this

    = SWITCH(TRUE(),'data'[hours]<7.25,"Partially",'data'[hours]>7.25,"Overbooked","Fully booked")