0.30000000000000004 icon indicating copy to clipboard operation
0.30000000000000004 copied to clipboard

DAX example

Open hernandemczuk opened this issue 5 years ago • 1 comments

There are not that many examples of this in Data Analysis Expressions (DAX),

It would be:

EVALUATE { VAR _sum = 0.1 + 0.2 // 0.30000000000000004 RETURN IF( _sum = 0.3, ":)", ":(" ) }

EVALUATE { VAR _sum = CURRENCY( 0.1 ) + CURRENCY( 0.2 ) // 0.3 RETURN IF( _sum = 0.3, ":)", ":(" ) }

hernandemczuk avatar May 24 '19 16:05 hernandemczuk

Thanks @hernandemczuk, but I'm not familiar enough with DAX to feel confident adding it as an example myself. If you submit a PR, I'd be happy to merge it.

erikwiffin avatar May 25 '19 01:05 erikwiffin