cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Laz
Resolver I
Resolver I

Import data from Analyses Services without MDX (for business users)

Hi All,

 

We are important Data from Analyses Services into Power BI.

 

The challenge we are finding is that we can't filter on the data before importing into Power BI. Therefore it takes significanlty long to import and also loads unnsessery data.

For instance, if we want to see Sales by Year, instead of importing every year available in the CUBE, we would want to import only the current and previous year.

 

I do know this is possible by MDX, but the issue with this is when business users are doing their own analysis (Self Service) in Power BI.

 

So the question is:

Is there a non technical way for users import data and filter before hand without the use of MDX, SQL or DAX?

 

 

2 ACCEPTED SOLUTIONS
cwebb
Resolver II
Resolver II

Hi Laz,

 

Yes, it is possible to filter data from a cube without using MDX - you can do this in the Query Editor window just the same as with other data sources. After you have connected to Analysis Services and made an initial selection of data in the Navigator pane, click the Edit button:

 

SSASNav.png

 

You can then select more measures and attributes by clicking the Add Items on the Cube Tools/Manage tab on the ribbon in the Query Editor:

 

SSASQE.png 

 

Once you have added your Year attribute you can then filter the years that are imported by clicking on the dropdown menu in the left-hand side of the Year column:

 

SSASFilter.png

 

Doing this will change the MDX query that is generated to only include the selected years - however you need to be careful, because there are some things you can do in the Query Editor that will stop the filtering from taking place in the MDX query, something I blogged about here:

https://blog.crossjoin.co.uk/2018/05/10/how-to-tell-whether-query-folding-is-taking-place-when-impor...

 

HTH,

 

Chris

View solution in original post

Syndicate_Admin
Administrator
Administrator

Hi Laz,

 

Yes, it is possible to filter data from a cube without using MDX - you can do this in the Query Editor window just the same as with other data sources. After you have connected to Analysis Services and made an initial selection of data in the Navigator pane, click the Edit button:

 

SSASNav.png

 

You can then select more measures and attributes by clicking the Add Items on the Cube Tools/Manage tab on the ribbon in the Query Editor:

 

SSASQE.png 

 

Once you have added your Year attribute you can then filter the years that are imported by clicking on the dropdown menu in the left-hand side of the Year column:

 

SSASFilter.png

 

Doing this will change the MDX query that is generated to only include the selected years - however you need to be careful, because there are some things you can do in the Query Editor that will stop the filtering from taking place in the MDX query, something I blogged about here:

https://blog.crossjoin.co.uk/2018/05/10/how-to-tell-whether-query-folding-is-taking-place-when-impor...

 

HTH,

 

Chris

View solution in original post

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

Hi Laz,

 

Yes, it is possible to filter data from a cube without using MDX - you can do this in the Query Editor window just the same as with other data sources. After you have connected to Analysis Services and made an initial selection of data in the Navigator pane, click the Edit button:

 

SSASNav.png

 

You can then select more measures and attributes by clicking the Add Items on the Cube Tools/Manage tab on the ribbon in the Query Editor:

 

SSASQE.png 

 

Once you have added your Year attribute you can then filter the years that are imported by clicking on the dropdown menu in the left-hand side of the Year column:

 

SSASFilter.png

 

Doing this will change the MDX query that is generated to only include the selected years - however you need to be careful, because there are some things you can do in the Query Editor that will stop the filtering from taking place in the MDX query, something I blogged about here:

https://blog.crossjoin.co.uk/2018/05/10/how-to-tell-whether-query-folding-is-taking-place-when-impor...

 

HTH,

 

Chris

View solution in original post

cwebb
Resolver II
Resolver II

Hi Laz,

 

Yes, it is possible to filter data from a cube without using MDX - you can do this in the Query Editor window just the same as with other data sources. After you have connected to Analysis Services and made an initial selection of data in the Navigator pane, click the Edit button:

 

SSASNav.png

 

You can then select more measures and attributes by clicking the Add Items on the Cube Tools/Manage tab on the ribbon in the Query Editor:

 

SSASQE.png 

 

Once you have added your Year attribute you can then filter the years that are imported by clicking on the dropdown menu in the left-hand side of the Year column:

 

SSASFilter.png

 

Doing this will change the MDX query that is generated to only include the selected years - however you need to be careful, because there are some things you can do in the Query Editor that will stop the filtering from taking place in the MDX query, something I blogged about here:

https://blog.crossjoin.co.uk/2018/05/10/how-to-tell-whether-query-folding-is-taking-place-when-impor...

 

HTH,

 

Chris

View solution in original post

Hi Chris,

 

Thank you for your reply!

 

It was super helpful and gave us the answer we was looking for Smiley Happy

 

Thanks,

 

Laz

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Top Solution Authors
Top Kudoed Authors