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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors