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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,177)