Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

conditional column for certain interval

Hi all,

 

I would like to display values in a column that lie in a certain interval, e.g. less than 50 AND greater than 10.

Conditional_Column = IF([Rankig]<50 & [Rankig]>10)

Note: Ranking is a column

 

Can I solve this using a conditional column?

 

Thanks in advance for your help.

Regards,

Nawaz

2 Replies

  • CNENFRNL's avatar
    CNENFRNL
    Community Champion
    Conditional_Column = IF([Ranking] > 10 && [Ranking] < 50, [Some Value])
  • DataZoe's avatar
    DataZoe
    Microsoft Employee

    Anonymous To create that one in DAX it's

     

    Conditional_Column = IF([Ranking] < 50 && [Ranking] < 10, [Some Value], blank())

     

    or 

     

    Conditional_Column = IF(AND([Ranking] < 50, [Ranking] < 10), [Some Value], blank())

     

    Logical functions (DAX) - DAX | Microsoft Docs