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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Superklez
Regular Visitor

How does Append Queries work under the hood?

I have 3 tables, namely data_2020, data_2021, and data_2022 (all using DirectQuery), which are stored in a cloud server because of how large the datasets are. If I Append Queries as New these three tables such that I have one main table, data, would Power BI know which tables to query from based on the year selected? For example, if I select the year 2021 on a slicer, will Power BI query only data_2021 or will it first perform something like UNION ALL among the three tables and then filter to only 2021?

 

Here's a reference on what I did if I didn't choose to append the three tables as one: https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-do-I-select-which-tables-to-calculate-on-... 

1 REPLY 1
lbendlin
Super User
Super User

Read about Query folding.  Use Performance Analyzer and/or DAX Studio to check the query that is actually run when you apply  your filters. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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