Forum Discussion
Anonymous
2 years agoNot applicable
DAX with VAR
Hello, I don't understand why these two DAX codes don't return the same amount in Power BI. In my example, imagine a table with 4 columns: - Date of receipt - Amount of the receipt - Receipt numb...
- 2 years ago
I see this regularly on the forum. When you assign a measure to a variable, it gets evaluated (and won't change after that). There isn't a notion of some kind of dynamic evaluation where the variable holds the name of the measure and evaluates it at some later point.
HotChilli
Community Champion
2 years agoI see this regularly on the forum. When you assign a measure to a variable, it gets evaluated (and won't change after that). There isn't a notion of some kind of dynamic evaluation where the variable holds the name of the measure and evaluates it at some later point.
Anonymous
2 years agoNot applicable
Thx for this answer, it's clear now !!!!