Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
bobbydave
Creator III
Creator III

Reference Line

I am trying to create a reference line showing a stacked bar chart with expressions 'Cycle Hit' and 'Cycle Miss'

I want to differentiate between them with a reference line.

Analyst would be my dimension.

So I am saying in my Target reference expression

if( Analyst = 'A', 1,

     if( Analyst = 'B', 1,

          if( Analyst = 'C', 1,

              if(Analyst = 'D', 1,

                    if(Analyst = 'E', 4,

                         if( Analyst = 'F', 4 )))))))

So what will happen is the Analysts will all have the reference link showing as 1 but will spike to 4 on E and F

Any ideas as my IF Target statement doesnt work

1 Solution

Accepted Solutions
stigchel
Partner - Master
Partner - Master

A reference line (in presentation tab) is not evaluated by the chart's dimensions. You can use a combo chart where you add this expression with line representation in the expression tab

View solution in original post

3 Replies
stigchel
Partner - Master
Partner - Master

A reference line (in presentation tab) is not evaluated by the chart's dimensions. You can use a combo chart where you add this expression with line representation in the expression tab

stigchel
Partner - Master
Partner - Master

Has this helped, or do you have any further questions?

bobbydave
Creator III
Creator III
Author

Combo chart was the way to go.

Thanks