Forum Discussion

nicbi's avatar
nicbi
New Member
4 years ago
Solved

Trivial queries not folding

I'm looking into using PowerBI to expose some data we have in Snowflake. The tables are huge so query-folding is a must, but I can't make it work even on the most basic queries.   Using Power BI De...
  • v-jingzhang's avatar
    4 years ago

    Hi nicbi 

     

    You can refer to this document: https://docs.microsoft.com/power-bi/connect-data/desktop-directquery-about#:~:text=TopN%20filters%3A%20Advanced,the%20returned%20results. It has explained this behavior as below.

     

    TopN filters: Advanced filters can be defined to filter on only the top or bottom N values ranked by some measure. For example, filters can include the top 10 categories in the previous visual. This approach again results in two queries being sent to the underlying source. However, the first query will return all categories from the underlying source, and then the TopN are determined based on the returned results.

     

    Best Regards,
    Community Support Team _ Jing
    If this post helps, please Accept it as Solution to help other members find it.