Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
prateeks
Frequent Visitor

Relationship between dimension fields

Hi, I have a very simple dimenion model and ssas cube as below.

Now when I connect to cube using PBI desktop, I want to create a simple bar chart showing number of customers in each region.

Basically count of CUST_CODE in each CUST_REGION. But I am not able to do it because PBI doesn't allow me to drag CUST_CODE to value. 

 

When I just connect to the database directly to the tables and try to do the same thing, it works.

How to do it in the cube? 

 

CUBEDWH.PNG

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@prateeks

I make a test with a table visual. It is possible to create a table visual using the dimension fields you mention. It is impossible to drag them to Values section of other charts in Live mode.

Regards,
Lydia

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

@prateeks,

What error message do you get in Power BI Desktop? What mode do you choose to import data from SSAS cube to Power BI Desktop, import or connect live?

Do you establish 1:many relationship between DIM_CURR and FACT_TRANS table , and establish 1:many relationship between DIM_CUSY and FACT_TRANS table? If so, make sure the filter direction is set to Bi directional.

Regards,
Lydia

Hi Lydia,

 

- There is no error message, only PBI only doesn't allow to drop the field into "Values".

- I am using connect live.

- Yes the relationship between DIM & FACT is 1:many

- I am using SSAS Multidimensional model, so cannot set the bi-directional filters.

 

Do I need to use tabular mode?

Anonymous
Not applicable

@prateeks,

I am unable to reproduce this issue when connecting to SSAS Multidimensional model with Connect Live mode. I suspect the issue is related to the relationship you create between dimension and fact tables. Please check the relationship in SSAS side.

Regards,
Lydia

Hi Lydia,

 

Its very straight forward relationship between DIM & FACT.

DIM is directly linked to FACT. Please see below details - 

Capture1.PNGCapture2.PNGCapture3.PNGCapture4.PNG

 

 

Anonymous
Not applicable

@prateeks

I make a test with a table visual. It is possible to create a table visual using the dimension fields you mention. It is impossible to drag them to Values section of other charts in Live mode.

Regards,
Lydia

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.