airwolf39Helper V4 years agoWhy does this variable not work?Why is the variable 'calc' greyed out at the bottom?
3 RepliesReplies sorted by Most LikedALLUREANSolution Sage4 years agoHi, airwolf39 Try to put var calc = ..... just below measure name, and first SWITCH after return Measure = var X = [....]var Y = [,,,,,]RETURNSWITCH....airwolf39Helper V to ALLUREAN4 years agoThe total is now wrong because the variable is outside of the isinscope function ALLUREANSolution Sage to airwolf394 years agoText like VAR xyz = [...] cannot be inside, they should stay isolated and used the name xyz in expressions.
ALLUREANSolution Sage4 years agoHi, airwolf39 Try to put var calc = ..... just below measure name, and first SWITCH after return Measure = var X = [....]var Y = [,,,,,]RETURNSWITCH....
airwolf39Helper V to ALLUREAN4 years agoThe total is now wrong because the variable is outside of the isinscope function
ALLUREANSolution Sage to airwolf394 years agoText like VAR xyz = [...] cannot be inside, they should stay isolated and used the name xyz in expressions.
Related contentOnedrive automatic update does not workPower BI / Salesforce Report Connector - Does it even work???Refreshing semantic model does not workDelta Lake VACUUM, how does it work?Drill through does not appear and does not work