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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
bobli
Frequent Visitor

Query result to embed table

Hello,

Is there a way to embed the query result directly to powerbi report so that I can remove the dependence on the external file? The ideal case would be the "Enter Data" but the data is a little messy and typing them in one by one is not the best idea. 

Thanks a lot,

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @bobli ,

 

You could use Import mode to load data first, then copy the table and paste the table in enter data feature.

 

Best Regards,

Jay

View solution in original post

9 REPLIES 9
Anonymous
Not applicable

Hi @bobli ,

 

You could use Import mode to load data first, then copy the table and paste the table in enter data feature.

 

Best Regards,

Jay

Thanks, The copy and paste made it work. 

parry2k
Super User
Super User

@bobli No idea what problem you are trying to solve. Your question is not at all clear, what actually you are looking for? Can you be more specific?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

bobli
Frequent Visitor

Hi @parry2k , thanks a lot for all the explanation. What I am searching for is a way to embed a query's result into a table. The table will be exactly like a table we get from the "Enter Data" button. However, instead of typing them in manually, I want to redirect a query's result into it. The goal here is that some decent amount of data only lives inside the report once I import them in. I guess it is a little hard to do so and it might be against Power BI's philosophy?

parry2k
Super User
Super User

@bobli having said that I wouldn't recommend this method as it is not a scalable method if you really going to change values or adding new data. These approaches are more of storing some config values etc but not for maintaining the data. In this case, I would recommend doing transformation on your data file (even it is a bad format but hope there is a pattern and you can transform with Power Query) or maintain data in an Excel file, easier to work with and let Power BI use this excel file. The advantage of storing in excel is, if you need to change data or need to add rows, you don't need to open Power BI, just update the Excel file and refresh Power BI to get the data.

 

Good luck whatever way you decided to go.

 

Check my latest blog post Compare Budgeted Scenarios vs. Actuals I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

PhilipTreacy
Super User
Super User

Hi @bobli 

You could use DAX to create the table directly in the Data Model.

Creating a Table in Power BI Using DAX Table Constructor - RADACAD

Create Static Tables in DAX Using the DATATABLE Function - SQLBI

Using DataTable DAX Function for Creating Structured Table in Power BI - RADACAD 

regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Thanks for the advice. Is there any reference to pass the query result into the Table or DataTable function?

Hi @bobli 

Sorry I don't know any way to explicitly do that.  Once the data is loaded into PQ it is automatically loaded into the Data Model on Close & Apply.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


parry2k
Super User
Super User

@bobli yes you can add data directly in Power BI if you don't want to read it from any source.

 

Check my latest blog post Compare Budgeted Scenarios vs. Actuals I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

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.

Top Solution Authors