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
MP_123
Employee
Employee

relationships in ssas cube

hi,

 

when i import data from the ssas to pbi,

the relationships active? or should i need them from scratch?

in the "manage relationship" i see one table with measures+dimensions, and not like a diagram

 

thanks a lot

5 REPLIES 5
v-sihou-msft
Employee
Employee

Hi @MP_123,

 

When you import data from SSAS cube to Power BI Desktop, it will only import objects(like dimensions, measures) with data in SSAS database, then generate single result set baesd on all retrieved data. It works like the Query Designer in SSRS. The underlying tables with relateships in DSV will not be imported into Desktop so that you can only see a single table containting all dimension members and measures.

 

Regards,

right, i do see al like one table

so how i create relationship? i thoght the data come to desktop with whole the relationship like in the cube, if not, whats the point when importing cube?

 

when i created visualizaion, it seems like the data is correct. what am i missing?

thanks!!!!

@v-sihou-msft

As a best practice I wouldn't recommend importing the data from the cube as you would have significant performance issues when you bring in all the data (lowest level of granularity) for larger cubes. The import cube data feature is relevant only if you are working on a smaller subset of the data and it generates one single mdx query based on your selection criteria for attributes and measures in which case there will be just one table in Power BI holding the dataset of the mdx query generated.

 

The best option would be to use direct query feature available for Analysis Services (available for both Multi-Dimensional and Tabular). This is very similar to connecting the cubes using Excel. You don't need to worry about importing dimensions, measures etc. and creating relationships in Power BI. You just connect to the cubes and start building the charts.

 

Hope this makes sense.

@karthik

I have the same issue here. I have to import data from SSAS cube since some new measure and calculation needed, which cannot be done in live connection. There is only one object (dimension+measures) in relationship view. When I need to import addtional columns that missed before, it displays in separate object and doesn't work to build relationship between them. Is that means I have to create from scratch every time or make sure ALL required columns included one time?

I'd suggest you to add all new measures in the cube if you are using the direct query connection. Import works well only when you want to extract a small sub-set of the data from the cube.

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.