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

[Rule request] Avoid sideways recursion #35

Open
otykier opened this issue Jul 20, 2020 · 1 comment
Open

[Rule request] Avoid sideways recursion #35

otykier opened this issue Jul 20, 2020 · 1 comment

Comments

@otykier
Copy link
Collaborator

otykier commented Jul 20, 2020

A rule that detects if a calculation item expression holds references the calculation group itself in the DAX expression (this indicates a sideways recursion which should be avoided).

@otykier otykier changed the title [Rule suggestion] Avoid sideways recursion [Rule request] Avoid sideways recursion Jul 20, 2020
@ruve1k
Copy link

ruve1k commented May 13, 2021

What is the rationale for avoiding sideways recursion?
Microsoft seems to suggest that this would be the typical way of defining a YOY or YOY% calculation item.
https://docs.microsoft.com/en-us/analysis-services/tabular-models/calculation-groups?view=asallproducts-allversions#sideways-recursion

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