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

Incorrect DAX Syntax Error Warning #5

Closed
otykier opened this issue May 27, 2021 · 2 comments
Closed

Incorrect DAX Syntax Error Warning #5

otykier opened this issue May 27, 2021 · 2 comments

Comments

@otykier
Copy link
Collaborator

otykier commented May 27, 2021

!!! Please make sure you're using the latest version of Tabular Editor before submitting a bug !!!

Describe the bug
The measure below in the Repro steps shows an error with the NOT operator.

To Reproduce
This measure is in the Contoso database:
As a Pct Of A Datum Sales = VAR varTotalADatum = CALCULATE( [Total Net Sales], NOT Products[Brand] IN { "A. Datum", "Contoso" } ) VAR RESULT = DIVIDE( [Total Net Sales], varTotalADatum, 0 ) RETURN varTotalADatum

image

That measure is valid and works. No syntax error shown in Power BI Desktop or DAX.do.

Expected behavior
No syntax error shown.

Observed behavior
Syntax error shown.

Application specifics

  • Tabular Editor version: 3.0 beta 18.4
  • Semantic Engine used: Power BI Desktop
  • Model Compatibility Level:

Additional context
Add any other context about the problem here.

@otykier
Copy link
Collaborator Author

otykier commented May 27, 2021

Transferred from TabularEditor/TabularEditor#856.

@TabularEditor
Copy link
Collaborator

Thanks for reporting. This is fixed in BETA-18.5.

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

No branches or pull requests

1 participant