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.
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?
Solved! Go to Solution.
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:
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:
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:
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:
HTH,
Chris
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:
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:
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:
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:
HTH,
Chris
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:
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:
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:
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:
HTH,
Chris
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:
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:
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:
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:
HTH,
Chris
Hi Chris,
Thank you for your reply!
It was super helpful and gave us the answer we was looking for
Thanks,
Laz
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.