Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

using a variable in a calculated dimension

I have an expression stored in a vriable that I would like to use as a claulted dimension.  I am having issues getting the variable to work as a calculated dimesnion (have followed other threads on the topic and followed the syntax)

since my calcualted expression has multiple results (calculting price/ton) I would also like to somehow group the results as well

I know the expression is correct because I am using it in other charts, with the correct results

1 Solution

Accepted Solutions
marcus_sommer

This won't work - have a look here what is needed for a calculated dimension: Calculated Dimensions.

- Marcus

View solution in original post

5 Replies
sinanozdemir
Specialist III
Specialist III

Are you using it within an Aggr() function in your calculated dimension? Maybe an example you can post.

marcus_sommer

Maybe you are missing an aggr() to wrap your expression - an example of your calculated dimension would be helpful.

- Marcus

Not applicable
Author

my variable is actuall the total of 3 other variables -

$(vFreightPerTon) + $(vMaterialPerTon)$(vOtherPerTon)

the variable is vTotalperTon

marcus_sommer

This won't work - have a look here what is needed for a calculated dimension: Calculated Dimensions.

- Marcus

Not applicable
Author

Marcus

thanks for the info and insight