web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / What are some of the b...
Power Apps
Answered

What are some of the best ways to design charts in Power Apps?

(1) ShareShare
ReportReport
Posted on by 49
Hi, 
 
I'm looking for some of the best approaches to building or designing charts in Power Apps. 
The out of box charts do not provide enough options and improvising using Power Apps' built in control can be clunky. 
What are some of the best ways to design charts in Power Apps?

While researching I came across this quickchart io site that came a bit close and was wondering what others recommend on here.

Thank you.

Sample code:
//The expense of the item/Total amount of the budget
With((Percentage: ThisItem.Expense/Sum(Filter(ExpenseByCategoryCollect, BudgetId =Gallery1.Selected.BudgetId),Expense)*100},
 
 
 
    "{ 
type: 'radialGauge',
data: {
datasets: [{
data: ["& Percentage &"],
backgroundColor: getGradientFillHelper( 'horizontal',[' red', 'blue']),
    }]
    },
)1
options:{
domain: [0, 100],
trackColor: '#f8f7f9',
centerPercentage: 80,
    centerArea: { 
text: (val) => val + '%',
  },
    }
   }"))
Categories:
I have the same question (0)
  • Suggested answer
    jpespena Profile Picture
    335 on at
    Hi MelaninCoded,
     
    I frequently use Quickcharts on creating visualizations for apps that I build. Just need some fixing on your existing code:
     
    - With() function should start with With({ not With((
    - Remove extra space in ' red' in backgroundColor
    - Remove )1 after the dataset which both cause error.
     
    It should be like this:
    With({Percentage: ThisItem.Expense/Sum(Filter(ExpenseByCategoryCollect, BudgetId =Gallery1.Selected.BudgetId),Expense)*100},
    "https://quickchart.io/chart?c=" & EncodeUrl(
     
        "{ 
    type: 'radialGauge',
    data: {
    datasets: [{
    data: ["& Percentage &"],
    backgroundColor: getGradientFillHelper( 'horizontal',['red', 'blue']),
        }]
        },
    options:{
    domain: [0, 100],
    trackColor: '#f8f7f9',
    centerPercentage: 80,
        centerArea: { 
    text: (val) => val + '%',
      },
        }
       }"))
     
  • Suggested answer
    timl Profile Picture
    36,774 Super User 2026 Season 1 on at
    Hi  MelaninCoded 
     
    I would also recommend that you take a look at the Canviz chart components.
     
     
     
  • Verified answer
    Mark Nanneman Profile Picture
    991 Moderator on at
    Using formulas like what you have in image controls is an interesting method--of course it all depends on the external service being available.

    Integrating PowerBI charts is a powerful option--there's a bit of a learning curve to figuring out.

    I've also sometimes just built my own charts, using galleries, containers and other controls and then adding formulas to the X and Y, dimension and color properties that change depending on the datapoints I want to display.

    It's not the most practical thing, but I once built a Gannt Chart from scratch in powerapps, using nested galleries and containers.

  • MelaninCoded Profile Picture
    49 on at
    Thanks for all your responses and answers. Very much appreciated. Like @Mark Nanneman stated there are some challenges with building out your own chart directly in PowerApps.

    I've tried with the Canviz chart components suggested. Although, it works. It's at best good for displaying visuals that you don't expect the user to interact with like PowerBI. So for quick stats and need to know stuff. 

    For interactive, slicing and dicing type of interactive charts, I learning to use galleries, containers and the out of the box pie, column and line chart that comes with Power Apps. With some data shaping functions like AddColumns, RenColumns, GroupBy, ShowColumns and variables for the OnSelect (Shane Young and Reza Dorrani, have some good videos on this) I've been able to do some cool stuff so far.

    What will be the ultimate for me will be the ability to use Power Apps controls to interact with a PowerBI tile directly in Power Apps. Still researching and I haven't found much on it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard