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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
bilalg
Regular Visitor

Automatic Query Creation from Table Column

Hey everyone,

 

First time here. I looked for an answer in the community but couldn't find it. I have received a data from an external database in Power BI. Received data is as a flat list of records. I grouped these records by their 'category' attribute. Because each record belonging to the same category have the same record structure. So it makes sense to have them as a separate tables. To come to my question: Now I have a table with one column being the category names, the second column being the data itself.

 

bilalg_0-1687463328064.png

I want to convert each of these tables into separate queries. I can do so by right clicking on tables, and selecting "Add as New Query" option but this is not very future proof. Because. once my data gets updated, I might have more categories. And manually converting tables as new queries can be time consuming once I have more than 30 rows.

 

So question is, is there a way to automate this process? Convert each table value in "all_data" column and add them as a new query?

 

Any help is welcome. Thanks!

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @bilalg 

 

I'm afraid it is not possible to add new queries from table values in a column of an existing query automatically. New queries can only be added manually at present. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @bilalg 

 

I'm afraid it is not possible to add new queries from table values in a column of an existing query automatically. New queries can only be added manually at present. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors