Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217511

Implement CASE statement just like TSQL in PowerBI

$
0
0

Hello,

 

Is there a way to implement below case statement as a measure or a new column in powerBI

 

Result =casewhen AVG_USER_ACTIVE < 10 and PercentUsage < 20.00 and Total > 180 then 1

else 0

end

 

I have looked into switch and IF but getting syntax error.

 

Thanks,

Kin


Viewing all articles
Browse latest Browse all 217511

Trending Articles