Skip to content

Easy Reports is a PowerApps component to add chart components to your Dashboards and Forms in a Model Driven app.

License

Notifications You must be signed in to change notification settings

martinlaukkanen/report-pcf

Repository files navigation

Easy Reports PowerApps Component (PCF)

Easy Reports is a PowerApps component to add chart components to your Dashboards and Forms in a Model Driven app.

DashboardEg

FormEg

Features

Easy Reports can be used in place of the out-of-the-box charts or side-by side and adds some additional features not found in the default charts, including:

  • Multiple chart types - with more to come
  • Theme selection from a selection of out-of-the-box themes or custom theming
  • Detection and use of choice value colours in theme

Chart Types

Easy Reports supports the following chart types:

  • Donut
  • Pie
  • Bar
  • Area
  • Line
  • Scatter (future release)
  • Bubble (future release)

Theming

Easy Reports supports multiple themes, a fully customisable theme option and automatically using data choice value colours;

  • Simple (A basic starter theme)

Simple

  • PowerApps (styled on Microsoft PowerApps purple colour)

PowerApps

  • Fluent (styled on Microsoft's Fluent UI style guide used across all Microsoft products)

Fluent

  • Material (A Google Material styled theme)

Material

  • Sheets (A Google Sheets inspired theme)

Sheets

  • Polychroma (A bright theme)

Polychroma

  • Custom (fully custom theme based on your own colour palette)

Additionally Choice value colours are automatically used in charts, when the chart is displaying the data related to that option set.

Data

Installation

Download the managed solution from Releases and import into your environment in https://make.powerapps.com

Usage

Component configuration options

Option Description
Theme Select your desired theme
Custom Theme Enter comma separated RGB colors for a custom theme, e.g. #FF0000,#00FF00,#0000FF
Chart type Select your desired chart type
Chart Subtitle Subtitle text will be shown below the charts list title
Series 1 Table field name of the values to show (the measure)
Series 1 Aggregation How to aggregate the values (avg, sum, count, etc)
Series 2 NOT YET IMPLEMENTED
Series 2 Aggregation NOT YET IMPLEMENTED
Category 1 Table field name of the values to group by (the dimension)
Category 2 NOT YET IMPLEMENTED

Adding a chart to a Form

  1. Open the desired form for editing in make.powerapps.com
  2. From the components menu under More components, add Easy Charts Config on Form
  3. Select the table and a view that contains all of the fields that you want to report on
  4. Configure component options as described in Component configuration options

| Tip: Set the Maximum number of rows property to 250 for faster initial loading of the chart Max rows

Adding a chart to a Dashboard

  1. Open your (classic) Dashboard for editing in make.powerapps.com
  2. Add a list component to the

Edit dashboard

  1. Edit the component, selecting a view that contains all of the fields that you want to report on

Edit component

  1. Select Control and Add Control, locate and add Easy Charts from the list

Add control

  1. Edit control properties

Control properties

  1. Configure the chart properties as described in Component configuration options

Contribute

Contribution is welcome, feel free to submit a pull request.

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

About

Easy Reports is a PowerApps component to add chart components to your Dashboards and Forms in a Model Driven app.

Topics

Resources

License

Stars

Watchers

Forks