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 Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Kudoed Authors