09-25-2018 07:23 PM
I am trying to do an if statement where if the date is blank return x,y.
I have tried using this formula and a few others but cannot get it to work.
IF ( ISBLANK(VALUES(Combined[ClosingDate])), 0 , [ActualGainOnSale] / [FinalAllICosts] )
Any suggestions would be great.
09-26-2018 10:37 PM
Suppose [ActualGainOnSale] and [FinalAllICosts] measures, to create a if statement with a measure, please refer to:
Measure = IF ( ISBLANK ( SELECTEDVALUE ( Combined[ClosingDate] ) ), 0, [ActualGainOnSale] / [FinalAllICosts] )
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.