Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Mohan_raj_c
Frequent Visitor

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

 

Legend as Duration.jpgLegend as Tag.JPG

 

2 REPLIES 2
v-cherch-msft
Employee
Employee

Hi @Mohan_raj_c 

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

a1.png

Regards,

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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)expected output (A-B-A-B-A-B-A-B)Which am getting with multiple colourWhich am getting with multiple colourRegards

Mohan Raj C

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors