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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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 MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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