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!
Solved! Go to Solution.
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.
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.