Forum Discussion

giorgi_lommidd's avatar
7 years ago
Solved

Display two values for each date on stacked column chart

Hi all, 
I need to dispaly two values for each date on stacked column  chart, somthing like this:



 



  • mussaenda's avatar
    mussaenda
    7 years ago

    If your table looks like this

     

    I don't know why it didn't work on your side

     

    Since I cannot reporduce your issue, I hope someone can help you.

    Have a nice day!

  • U need to create 2 measures using this colums and use it in visual.

    In your case it will be
    Measure 1 = SUM(Column 1)

    Measure 2 = SUM(Column 2)

     

    And U need to use "clustered column chart" not stacked. ;)

7 Replies

  • mussaenda's avatar
    mussaenda
    Community Champion

    This might be possible if you will elaborate what you really need

    • giorgi_lommidd's avatar
      giorgi_lommidd
      Helper I

      I have table with 5 olumn : date, cost1, cost2, revenue1 and revenue 2 need to dispalay costs (cost1 and cost2) in one stacked column  and revenues (revenue1 and revenue2) in another stacked column for same date  

      • mussaenda's avatar
        mussaenda
        Community Champion

        You can drag your date to axis, drag revenues to values since your revenue 1 and 2 are in different columns. Same with your costs

  • U need to create 2 measures using this colums and use it in visual.

    In your case it will be
    Measure 1 = SUM(Column 1)

    Measure 2 = SUM(Column 2)

     

    And U need to use "clustered column chart" not stacked. ;)

  • v-piga-msft's avatar
    v-piga-msft
    Resident Rockstar

    Hi giorgi_lommidd ,

    Have you solved your problem?

    If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

    If you still need help, please share your data sample which could reproduce the scenario and your desired output so that we could help further on it.

    Best  Regards,

    Cherry