Use line charts, pie charts, and bar charts to display your data. When working with charts, the data that you import should be structured like the following:
For example, your data should look similar to the following:
You can create and use these charts within PowerApps. Let's get started.
In these steps, we import the sample data into a collection, named ProductRevenue.
On the Insert tab, select Controls, and then select Import:
Set the control's OnSelect property to the following function:
Press F5 to open Preview mode, and then select the Import Data button.
In the Open dialog box, select ChartData.zip, select Open, and then press Esc.
On the File menu, select Collections.
The ProductRevenue collection is listed with the chart data you imported:
Press Esc to return to the default workspace.
On the Insert tab, select Charts, and then select Pie Chart.
Move the pie chart under the Import data button.
In the pie-chart control, select the middle of the pie chart:
Set the Items property of the pie chart to this expression:
The pie chart shows the revenue data from 2014.
Now, let's use this ProductRevenue collection in a bar chart:
On the Home tab, add a screen.
On the Insert tab, select Charts, and then select Column Chart.
Select the middle of the column chart. Set the Items property of the column chart to
The column chart shows the revenue data from 2012:
In the column chart, select the center square:
On the Chart tab, select Number of Series, and then enter 3 in the formula bar:
The column chart shows revenue data for each product over three years: