cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gui270
Level: Powered On

Grouped Columns in Bar Chart

Hey everyone.
While working with KPIs in PowerApps, I stumbled upon the need of grouping columns in a regular Bar Chart.

 

Here's a sample of what I've got:

 

 

Month          Percentage 1      Percentage 2

February      12%                    20%
January        10%                    25%

March           6%                      31%

I can plot the values all meld in one chart, with merged columns along the Bar Chart. Unfortunately, however, I can't find a way to group them two by two, and separate them month by month.
The way I see it, I should somehow be able to plot o Chart with two columns per month.

If it helps, I'm leaving here the code that I've been using to create the current chart.

LastN(SortByColumns(ShowColumns(Filter(KPI_Consolidado;KPI_id=Gallery1.Selected.ID);"Material_x0020_de_x0020_Embalage";"Mat_x00e9_ria_x0020_Prima";"ref_month");"ref_month";["Janeiro";"Fevereiro";"Março";"Abril";"Maio";"Junho";"Julho";"Agosto";"Setembro";"Outubro";"Novembro";"Dezembro"]);13)

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
PowerApps Staff CarlosFigueira
PowerApps Staff

Re: Grouped Columns in Bar Chart

There's no property in the bar chart control that can add a spacing between the grouped series - feel free to create a feature request in the PowerApps Ideas board for that.

 

There is, however, a workaround that you can use to add such a spacing. The idea is to have a third series in the chart, but set its color to transparent, so that it is not displayed. The screen capture below shows how this can be done.

 

BarChartColumnGrouping.gif

1 REPLY 1
PowerApps Staff CarlosFigueira
PowerApps Staff

Re: Grouped Columns in Bar Chart

There's no property in the bar chart control that can add a spacing between the grouped series - feel free to create a feature request in the PowerApps Ideas board for that.

 

There is, however, a workaround that you can use to add such a spacing. The idea is to have a third series in the chart, but set its color to transparent, so that it is not displayed. The screen capture below shows how this can be done.

 

BarChartColumnGrouping.gif

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 122 members 4,712 guests
Please welcome our newest community members: