Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Why is the variable 'calc' greyed out at the bottom?
Hi, @airwolf39
Try to put var calc = ..... just below measure name, and first SWITCH after return
Measure =
var X = [....]
var Y = [,,,,,]
RETURN
SWITCH....
Proud to be a Super User!
The total is now wrong because the variable is outside of the isinscope function
Text like VAR xyz = [...] cannot be inside, they should stay isolated and used the name xyz in expressions.
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |