cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
adavid999
Helper V
Helper V

tables append or union?

Hello,

 

I have several tables with identical fields. So far I have been loading and then appending the tables and then writing/applying my measures (rather than writing the same set of measures for each individual table).

 

Is this the most efficient/normal way to work with several tables? I.e. is this the norm or is there a more efficent way to to write measures that would say calculate a mean over several tables?

 

Thanks,

 

A

1 ACCEPTED SOLUTION
AlB
Super User
Super User

Hi @adavid999 

What you're doing sounds good.  Append the tables in Power Query, so that you have everything consolidated in one table and you can have your measure operate in just one table. If it's tables with the same columns as you describe it doesn't make sense to operate on them separately

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

 

SU18_powerbi_badge

 

View solution in original post

4 REPLIES 4
adavid999
Helper V
Helper V

thanks @Fowmy and @AlB good to know I am on the right track

Fowmy
Super User
Super User

@adavid999 

The best method would be to combine the tables. You can combine all those tables onto a single table using either the APPEND option in Power Query or the UNION function in DAX.

Please refer to below article:

 

Append: https://docs.microsoft.com/en-us/power-query/append-queries

Union: https://docs.microsoft.com/en-us/dax/union-function-dax

________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

@Fowmy 

Between Append and Union which will take less time to load? I am currently using union and my model takes alot of time to refresh. If I switch to append will it be faster?

AlB
Super User
Super User

Hi @adavid999 

What you're doing sounds good.  Append the tables in Power Query, so that you have everything consolidated in one table and you can have your measure operate in just one table. If it's tables with the same columns as you describe it doesn't make sense to operate on them separately

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

 

SU18_powerbi_badge

 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors