Forum Discussion

Mohan_raj_c's avatar
Mohan_raj_c
Frequent Visitor
7 years ago

Stacked column chart - colour

Am new to power bi and trying to plot graph using stacker column chart.

My data

Date TimeTagDurationDuration_1Hour
7/23/20191:01:00 PMA  13
7/23/20191:02:18 PMB0:01:187813
7/23/20191:02:29 PMA0:00:111113
7/23/20191:02:40 PMB0:00:111113
7/23/20191:02:48 PMA0:00:08813
7/23/20191:03:00 PMB0:00:121213
7/23/20191:03:16 PMA0:00:161613
7/23/20191:04:08 PMB0:00:525213
7/23/20191:06:09 PMA0:02:0112113
7/23/20191:06:11 PMB0:00:02213

 I plot above value in stacked column chart and ploted for "legend" as "duration" and "Value" as "Duration_1". It shows in different colour.

Refer image "Legend as Duration"

 

I plot value in two colour with respect to Tag (A & B). i ploted for "legend" as "Tag" and "Value" as "Duration_1". I getting output as sum of A is ploted first and sum of B is over the  A.

Refer image "Legend as Tag"

 

Am looking for an output like value of A in one colour and value of B in another colour. It should plot in the order of ABABABA.

 

NOTE: am looking for the  format "legend" as "duration" and "Value" as "Duration_1" but value of A in unique colour (for example green) and value of B in unique colour (for example red).

 

--

Regards

Mohan Raj C

 

 

2 Replies

  • v-cherch-msft's avatar
    v-cherch-msft
    Microsoft Employee

    Hi Mohan_raj_c 

    Please check below picture.If it is not your case,please explain more about your expected output.

    Regards,

     

    • Mohan_raj_c's avatar
      Mohan_raj_c
      Frequent Visitor

      nHello 

       

      Thanks for the responce. I need to stack the value(Duration_1) of A and B with respect to time. As i mention, i can stacked the value of A and B. but, output will be like multi colour. Value of A are plotted with multiple colour and value of B plotted with multiple colour.

       

      I need an output like value of "A" have to be in green colour and value of "B" have to be in red colour. then, graph will be like green-red-green-red-green-red-green-red-green-red (A-B-A-B-A-B-A-B).

       

       

       

      --

      expected output (A-B-A-B-A-B-A-B)Which am getting with multiple colourRegards

      Mohan Raj C