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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
CahabaData
Memorable Member
Memorable Member

same table, several queries

Coming at this from a database design perspective.  I am accustomed to having the table as the fundamental record set, and then make a series of queries each with a descriptive name....and they all co-exist.

 

In Power BI I with a table, Addresses, with 1000+ records and about 6 fields 

 

I made a query to create a StateCount field so now Query 1 there are 50 records with 2 fields, State and StateCount field - so far so good - this is used to create a Map visual of address per state.

 

Now I want to make another query of the table, Addresses, for Property Type count - same idea - 2 fields, State and PropertyTypeCount.  There are 3 property type so assuming all 3 in each state this query is going to have 150 records....

 

My question is: where is the fundamental Addresses table now?  When I look at it all I see is the first query of 2 columns.  Does one need to dupe the fundamental table repeatedly to create a starting point for each query?  Have relooked thru the guided learning and am not seeing this high level approach discussed so thought I would ask advice. 

 

Possibly I am just not understanding the user interface but if one wants to make say 5 different queries off the same table how does one approach that efficiently?

www.CahabaData.com
1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@CahabaData

 

In this scenario, did you import only one Address table into Power BI desktop, and then do modifications or create calculated table based on that table?

If so, please duplicate existing Address table for each query, then do shape and comine data on duplicated ones. You can just "Copy Table" and paste it in "Enter Data".

 

Capture222.PNG

Regards,

View solution in original post

2 REPLIES 2
v-sihou-msft
Microsoft Employee
Microsoft Employee

@CahabaData

 

In this scenario, did you import only one Address table into Power BI desktop, and then do modifications or create calculated table based on that table?

If so, please duplicate existing Address table for each query, then do shape and comine data on duplicated ones. You can just "Copy Table" and paste it in "Enter Data".

 

Capture222.PNG

Regards,

thank you for the reply.  It answers the fundamental question as to the difference between a database design versus Power BI. 

 

As per my first post in a database 1 table exists forever and you make as many queries as you wish.  With Power BI the query redefines the starting table permanently and so one must duplicate the table for each query.

 

I discovered that one can also duplicate the query itself - then undo some of the steps - and create new steps as a way to make a similar query fairly easily.

 

 

www.CahabaData.com

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.