Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
rzhuo6763
Frequent Visitor

create charts with power query

Hi I am new to Power BI. I am working on a project to autmatically generate reports and I am wondering if powerbi is cabable of doing it.

The flow will be 

  • keep the columns in the table with Logical.Type (Done with PowerQuery)
  • generate pie chart from those columns

I am wondering if Power BI can do the second step also with Power Query. If not, does Power BI support creating charts without manual work from existing tables?

7 REPLIES 7
Anonymous
Not applicable

Hi @rzhuo6763 ,

 

Has your problem been solved? If the problem has been solved you can mark the reply for the standard answer to help the other members find it more quickly. If not, please point it out. Thanks in advance.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

HarishKM
Solution Sage
Solution Sage

@rzhuo6763 Hello,
I am afraid that option is not available as of now to create a viz in power query but you can finish your all transformation then publish your dataset to power services and once you had published it you will generate insights of data over there.
or you can ask power bi to auto generate few report and you can change the visual as well there. Kindly follow below image.

HarishKM_0-1695120464969.png


Thanks
Harish M

mussaenda
Super User
Super User

Hi @rzhuo6763 ,

 

Power query is for ETL.

Not for charts. 

You need to create a visual and the columns will be updated according to your data.

 

If you want to create a visual by pushing a button, you can work around with bookmarks or buttons or page navigations. 

 

Anonymous
Not applicable

Hi @rzhuo6763 ,

 

Unfortunately the current version does not support.

If you would like to suggest  feature improvements, you may vote the idea and comment here to improve this feature. It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

You can manually create the pie chart in Power BI Desktop then place the columns on the appropriate fields, then you can update the data in power query and click close and apply, at which point the pie chart will automatically update.

vtangjiemsft_0-1695108281092.pngvtangjiemsft_1-1695108356495.png

 

vtangjiemsft_2-1695108421491.png

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

 

Hello @rzhuo6763 

You need to be in report view to create your visualizations.

If you are not there already, you need to navigate to this view by clicking the Report button along the left side of the window.

Add the Pie chart to the report

Click the Pie chart button in the Visualizations area.

Click the arrow to the left of the tables to expand the list of fields.

Using fields in Power BI visualizations is similar to how you work with PivotTables in Excel .

Drag the field from the table into the Legend area, and the fact field in the Values area.

There are plenty of formatting options that can be applied to a Pie chart to improve it.

Click the Format button to access all the formatting options for the selected visualization.

 

Hi @JadhavVarsha_13  Thank for you response. But I am wondering if I can do the above steps in a more automatic way? like in Power Query? The goal of the project is I can create some charts at the push of a button?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.