SELECT() with multiple conditions

Hi,

I am looking for an expression to get a list selection with multiple conditions.
I tried to write a SELECT() function wich take into account two conditions, but it does not work, like SELECT(myTable, condition1 and condition2, FALSE)

How can i get this kind of table ?

Thanks

Solved Solved
2 2 9,015
1 ACCEPTED SOLUTION

Hi

Use AND() function for multiple conditions

SELECT ( MyTable[DesiredColumn], AND ( [Column1]=โ€œSomethingโ€, [Column2]=โ€œOtherโ€ ) )

View solution in original post

2 REPLIES 2

Hi

Use AND() function for multiple conditions

SELECT ( MyTable[DesiredColumn], AND ( [Column1]=โ€œSomethingโ€, [Column2]=โ€œOtherโ€ ) )

Great ! Thanks a lot, it works perfectly. Have a nice day

Top Labels in this Space