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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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