Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAX example #145

Open
hernandemczuk opened this issue May 24, 2019 · 1 comment
Open

DAX example #145

hernandemczuk opened this issue May 24, 2019 · 1 comment

Comments

@hernandemczuk
Copy link

hernandemczuk commented May 24, 2019

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 hernandemczuk changed the title DAX sample DAX example May 24, 2019
@erikwiffin
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants