Forum Discussion
if then else
- 9 years ago
Cool my dear friend.
We can do anything in DAX cool.
Try this,
Measure =
Switch ( True(),
condition1,"Result1" ,
condition1,"Result1" ,
etc... )
let me if any help in DAX.
Cool my dear friend.
We can do anything in DAX cool.
Try this,
Measure =
Switch ( True(),
condition1,"Result1" ,
condition1,"Result1" ,
etc... )
let me if any help in DAX.
Hi Bhaskar,
can you help me with this query how to achive with DAX.
IF [repair information ] = "Repeat Repair"
THEN
IF COUNTD([VIN]) / TOTAL(COUNTD([VIN])) > 0.1
THEN round(COUNTD([VIN]) / TOTAL(COUNTD([VIN])),4) END
ELSE
IF COUNTD([Strata Claim Id]) / TOTAL(COUNTD([Strata Claim Id])) > 0.1
THEN round(COUNTD([Strata Claim Id]) / TOTAL(COUNTD([Strata Claim Id])),4) END
END
any quick response would be appriciated.
Regards,
Ram.