Forum Discussion

MP_123's avatar
MP_123
Microsoft Employee
10 years ago

filter on import data from ssas

hi,

 

i have a problem that my cube is very very big so i can't import the whole data to PBI (i don't want to connect live because i want to be able to add measures, formatting and stuff)

how can i filter the data before i'm importing it? i know i can edit the 'M' but it's after the importing, right? so i can edit the query but it still not on the whole data...

 

is someone have an idea to solve my problem? thank you very much!

9 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    As is, this procedure is not really correct. It's flawed yes.

     

    You have to import and then filter out data OR as I noticed.

     

    You can import small amount of data, filter it and then add the remaining columns or dimensions continuing to filter as you go.

     

    It's messy, but effective.

     

    On another note.

    PBI team: Please provide pre-filters for this? :)

    • MP_123's avatar
      MP_123
      Microsoft Employee

      Anonymous

      thanks!

       

      do you mean by "table.selectRows"?

      because it doesnt work for me...

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        1) Get data - Analysis Services

        2) enter your servers name etc

        3) Assuming you're importing data (not live connection): Select your timedimension and simply load it all.

        4) Edit Queries and filter the year to this year for example. 

        5) On your right in Query settings under Applied Steps - click on the gear sign right to "Added Item" and simply add the dimensions you need and Load them each time. Filter as much as you can each time as well.

         

        For me this works better than loading all in one which either takes way too long or doesnt work at all.

         

        This is something that we need to be able to pre-filter before loading IMO.

         

        Hope this helps