Forum Discussion

Mustafa_A's avatar
Mustafa_A
Contributor II
3 years ago

BI Viewer - Creating a clustered column line chart

Hey All,

I'm trying to add a column (bar) chart on top of this line chart. But I want it to reference and add a dollar based stats account (e.g. Avg Fleet Total) bar chart. 

I noticed there is a way to add a second axis on the right - so wondering if I can have two charts on the same pane. 

 

Appreciate the help folks. Thank you!

 

 

  • Add your Avg Fleet Total measure to the Values pane and choose chart type and in the second tab of the chart type selection window you will have the option to plot it on a secondary axis as in the pic below.

    • Mustafa_A's avatar
      Mustafa_A
      Contributor II

      I did - but how do I select avg fleet acct? I'm using a CV MD data adapter fyi. 

       

       

       

      • Sai_Maganti's avatar
        Sai_Maganti
        Contributor II

        Right you should create a calculated field with formula something like this..

        Iif(StartsWith([Account]), 'Asset Yield Pct'), [Amount], 0) --Add all your account conditions for you Avg Fleet Acct

        Make this Field Type Decimal and add this to your values pane and then choose Average as shown in the pic below