Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

SSAS query filter

Dear all, 

 

I am facing very long data loading time when trying to connect to SSAS leading to server timeout error. 

I want to filter the date in the query. This will avoid to load my whole data (which is not possible anyway) to my local computer memory.  I tried to use the parameters but did not succeed also try @danielhjorvar advice in this post https://community.powerbi.com/t5/Desktop/filter-on-import-data-from-ssas/td-p/28784

but it does not look to work for me. As I need to create additional measures for my data live connection is not an option for now (unless Microsoft release that function for us...) 

 

I will appreciate your help

 

 

 

 

  • ImkeF's avatar
    ImkeF
    9 years ago

    When using member-filters, you have to select the full string of the element. So it's fast, but not flexible.

    For searches like "Starts with..." you have to use Text filters, but then you pay the performance penalty. So try to reduce the imported data by using member filters first and continue with text filters (who will often not fold back).

6 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you very much. It is working now. I did not know this trick before. 

      Do you know when we should use one or the other?

       

      • ImkeF's avatar
        ImkeF
        Community Champion

        When using member-filters, you have to select the full string of the element. So it's fast, but not flexible.

        For searches like "Starts with..." you have to use Text filters, but then you pay the performance penalty. So try to reduce the imported data by using member filters first and continue with text filters (who will often not fold back).