Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 51 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 84 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |