cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Tiemen Advocate I
Advocate I

What is the best way to query a SSAS cube database?

Hello,

 

What is the best way to query with power bi on a SSAS cube database? Im am having trouble to load data, the following error keeps popping up: 

error ssas.JPG

 

A live connection is not an option unfortunately because i need to make some measures and calculated columns. So i need to import the data. I now used an MDX query (which i made with help of power pivot in Excel, im not an expert at this). 

 

I hope someone has an solution for this or can point me in the right direction.  

 

Thnx!

 

Greetz Tiemen

3 REPLIES 3
gooranga1 Impactful Individual
Impactful Individual

Re: What is the best way to query a SSAS cube database?

https://community.powerbi.com/t5/Desktop/Not-Enough-Memory-Error/td-p/193818

 

Looks like a setting on your SSAS server.

 

We use MDX against SSAS all the time and it works pretty well.

 

 

Tiemen Advocate I
Advocate I

Re: What is the best way to query a SSAS cube database?

@gooranga1 thnx! I will ask our admin to check the settings and let you know if this was the problem.

cwebb Resolver II
Resolver II

Re: What is the best way to query a SSAS cube database?

Hi Tiemen,

 

It looks like your query is using a lot of memory on the server - so much that SSAS has cancelled the query because it thinks it is about to run out of memory. How much data are you trying to import here? Are you trying to get the entire contents of the cube, including calculated values? You may be able to optimise the MDX query here (or use a DAX query instead), but it may also be the case that you can't get a large amount of data from the cube using a query. 

 

The best option is probably going to be to add the calculations and dimensions you need on the cube itself so you can use a Live connection. If this is not possible you will have to try to reduce the amount of data you are importing, maybe by reducing the date range.

 

Chris

Helpful resources

Announcements
‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors