Forum Discussion

vamshi_pbims's avatar
vamshi_pbims
Microsoft Employee
1 year ago
Solved

Need help with Line and Stacked Column Chart

Hi Team,

 

Need help with using multiple y-axis measures or columns and a different legend column. PFB sample data.

 

So I would like to show negative values(Type 2) below the x-axis and positive values(Type 1) above the x-axis for categories, and when i take Category into X-axis and Value into Y-axis by default it is summarizing positive and negative values and giving the result number above the x-axis, and when i place the type column into Legend the result gets correct, but i want to place State column in legend, which is not allowed if i place 2 column or 2 measures into y-axis or if i already placed type column in legend.

 

and total labels should be shown both for negative side and positive side. 

 

So basically i want a chart like below but i want my state column to be legend not type column.

 

 

Any help is appreciated.

 

Thanks.

 

CategoryValueTypeState
A10Type 1New
A10Type 1Old
A10Type 1Unknown
A-5Type 2Old
A-5Type 2Old
B15Type 1Unknown
B-10Type 2New
C20Type 1New
C-15Type 2Old
  • Tutu_in_YYC , Thanks for your effort, It doesnt solve my exact purpose. However I could achieve the requirement with Deneb by considering positive and negative values as seperate layers.

     

    Thanks.

3 Replies

  • Sounds like, you want to positive and negative value to not be summed up, and then should be broken down by State.

    This is the closest I could get. Since we can separate the + and - using measures and further breakdown by State.

     

     

  • vamshi_pbims's avatar
    vamshi_pbims
    Microsoft Employee

    Tutu_in_YYC , Thanks for your effort, It doesnt solve my exact purpose. However I could achieve the requirement with Deneb by considering positive and negative values as seperate layers.

     

    Thanks.

    • Tutu_in_YYC's avatar
      Tutu_in_YYC
      Super User

      oh yes, deneb is a good custom visual solution. Thanks for mentioning it.