Forum Discussion

sbkrishblr's avatar
sbkrishblr
Frequent Visitor
8 years ago
Solved

stacked chart

HI   I have Measures A & B on stacked Y axis and Measure C on Line Yaxis chart. and i have months  as X axis.   i am using stack and Line chart.   i want measure B to be sliced within based upo...
  • MFelix's avatar
    MFelix
    8 years ago

    Hi sbkrishblr,

     

    I would do the following changes to your information:

     

    Create a calendar table

     

    Unit A table:

    1. Add Columns:
      1. Salesman - Blank
      2. Unit - "Unit A"

    Unit B Table

    1.  Add Columns:
      1. Unit - "Unit B:" & Salesman

    Append Table A with table B having a single table (Sales) with:

    1. Month
    2. Sales
    3. Salesman (for Unit A this values will be blank)
    4. Unit

    Connect the Calendar table with the Sales table and with the Target table 

     

    Make the chart with the following setup

    1. X-axis - Date from Calendar
    2. Column Series - Unit
    3. Column values - Sales
    4. Line Values - Company Target

    Final result below:

     

    Regards,

    MFelix