Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ziabobaz
Creator III
Creator III

Dimension Reference Line - can't use variable / master label / calculation in Expression

Apart from hard numbers (which works), I can't use dynamic dimension reference line. I tried using variables or formulas - it does not work. 

Is it a bug or a feature?

Thank you!

 

ziabobaz_0-1622740451226.png

 

Labels (1)
1 Solution

Accepted Solutions
ziabobaz
Creator III
Creator III
Author

Figured it out myself:

=Floor( [AvgOrderValue], 1500 )

 

View solution in original post

3 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

It should allow you to write a function for a value.

What expression you have used which didn't work?

 

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
ziabobaz
Creator III
Creator III
Author

hi there!

this is the Dimension formula:

Number of Orders by AOV 

=AGGR(	Class( [AvgOrderValue], 1500), OrderN)

 

 

This is the formula for Dimension reference:

Total Average Order Value

=SUM( {< Cal={'CP'} >} Sales)
/
Count( DISTINCT {< Cal={'CP'} >} OrderN)

 

ziabobaz
Creator III
Creator III
Author

Figured it out myself:

=Floor( [AvgOrderValue], 1500 )