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
Anonymous
Not applicable

Issue in Modelling

Hi,

 

   I have created a report to explain the issue I'm facing. You can download the report here.

 

   When I try to display the following fields "Username, AccountName, ItemName" it displays a error "Can't display the data because Power BI can't determine the relationship between two or more fields"

 

Thanks

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

With the relationships defined as they are there's no path for powerbi to get the ItemName.

If you want a simple way to make it work, delete the relationship between Items and Accounts then create a relationship between AccountBridge and Items (on Account ID)

 

The model is still a bit odd (it's relational but information is duplicated in different tables) but Powerbi copes with lots of different models.

View solution in original post

3 REPLIES 3
HotChilli
Super User
Super User

With the relationships defined as they are there's no path for powerbi to get the ItemName.

If you want a simple way to make it work, delete the relationship between Items and Accounts then create a relationship between AccountBridge and Items (on Account ID)

 

The model is still a bit odd (it's relational but information is duplicated in different tables) but Powerbi copes with lots of different models.

Anonymous
Not applicable

@HotChilli , thanks for your reply. Which data is duplicated in the model? Any suggestion for change in the modelling?

Well, AccountID is in 3 tables,  and the Items table is tagged on the end (with a 2-way relationship which is usually a bad sign)

 

The classic model is a fact table which can be filtered by various dimension tables.   This makes querying simpler.

 

As I say, powerbi can cope with lots of different models.  It all depends on what you want to report on.

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.