Showing results for 
Search instead for 
Did you mean: 
New Member

Write Sql query in Power apps and make pie chart of output

Hi all,


i am having data in sql server management studio and i need to run a query in power apps from where i want to have output as Pie chart or bar graphs.


The query is coming from table in sql server management studio.


Any suggestions?


Thanks in advance

Community Support
Community Support

Hi @Hiritik :

I am afraid this is impossible to do, SQL query cannot be executed in Power Apps.

If you need this feature ,I suggest you post your ideals on this forum:
Power Apps Ideas - Power Platform Community (

In addition,I suggest you use "Sort", "Filter" and other functions to achieve similar effects.

Best Regards,


Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,620)