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
bosleyjarrett
Frequent Visitor

Limiting date range import from SSAS Cube

Hello, 

 

I am running into an issue when attempting to import dates from our SSAS cubes. In order to create the report that I want, we have to use fields that have a large number of distinct values (in many cases over 100,000) by date. The default import for the SSAS connection is to pull all the dates available in the cube (early 2012) so as you can imagine, we end up with some queries that are many millions of rows and take forever to load. 

 

Any guidance here? I'd ideally like to be able to pull in some hourly data that we house in the database but the number of rows that we'd be looking at there ends up being too much for the software to handle and the query times out. can I limit the import before it pulls in?

 

Thanks

6 REPLIES 6
Greg_Deckler
Super User
Super User

Are these tabular or multi-dimensional cubes? Are you importing or live query? If importing, check out the Advanced drop-down when you are connecting to the cube and you can paste in MDX query, etc.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

These are multi-dimentional cubes and we are importing rather than live querying.

Do I have to use a different MDX syntax than what I would use in an excel instance of SSAS? We have multiple cubes on this server and it seems like it does not know where to execute the query.

Hi @bosleyjarrett,

 

According to my test, we can truncate the query in the Query Editor. For example, I have table with 10 thousands rows. I edit it in the Query Editor to keep only top 200 rows. Then the loading is very fast due to there are only 200 rows. Limiting date range import from SSAS Cube.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  

If you want to filter them by MDX, you should do it in the initial interface.Limiting date range import from SSAS Cube2.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards!

Dale

 

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

My issue is getting the data into the query editor view. The dataset is very larger and is unable to load into the editor.

Hi @bosleyjarrett,

 

Maybe you can try to get data in Query Editor. The dataset only has preview in Query Editor. You can manipulate it before applying in the Query Editor where you can reduce the size of dataset.

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.