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

Replace Index with Values

Hello guys, 

 

I'd need a hand with the model below. Table 1 shows uniques titles (movies, series, etc.) with its corresponding index "tconst". Table 2, shows uniques Names with its index "nconst". Table 3 shows every title (tconst), a person (nconst) and its role in the title.

 

egomezcaro_0-1627986320532.png

 

Table 4 shows every title (tconst) and its director and writer (both are indexes nconst).

 

egomezcaro_1-1627986399835.png

 

Which would be the best way to make a visual with: a title -> Name (from table 2) of Director -> Name (from table 2) of Writer?

Thanks!!

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

That's quite a handful.

lbendlin_0-1627918198605.png

This part needs cleaning up.  Combine Location,Country and Region into one table, and clean up your "region"  terminology.  Your title region seems to be different from your geographic region.

lbendlin_1-1627918323954.png

Bidirectional 1:1 relationships most of the time mean you should fold the tables into a single table.

 

I think you have more than two fact tables. In fact (pun intended) you may not have fact tables at all.  This gets close to a graph,  and frankly is not something Power BI is good at.  The Qlik associative model is more suited for such a scenario.

 

Can you try to formulate the main questions that your report should be answering for your intended audience?  That may help to modify the data model in a meaningful way.

 

View solution in original post

6 REPLIES 6
lbendlin
Super User
Super User

That's quite a handful.

lbendlin_0-1627918198605.png

This part needs cleaning up.  Combine Location,Country and Region into one table, and clean up your "region"  terminology.  Your title region seems to be different from your geographic region.

lbendlin_1-1627918323954.png

Bidirectional 1:1 relationships most of the time mean you should fold the tables into a single table.

 

I think you have more than two fact tables. In fact (pun intended) you may not have fact tables at all.  This gets close to a graph,  and frankly is not something Power BI is good at.  The Qlik associative model is more suited for such a scenario.

 

Can you try to formulate the main questions that your report should be answering for your intended audience?  That may help to modify the data model in a meaningful way.

 

Anonymous
Not applicable

Many thanks for the help and advice @lbendlin . I modify the questions in order to ease the help of the audience.

lbendlin
Super User
Super User

Please post a sample pbix if possible.

Anonymous
Not applicable

lbendlin
Super User
Super User

in a "normal" data model the filter direction is singular, from the 1 table ("dimension") to the * table ("fact").

 

Can you explain why you chose bidirectional?

Anonymous
Not applicable

If filter direction is singular, visualizatons are showing totals and not individual quantities for each dimension. See examplen below on genre visual:

 

egomezcaro_0-1627888792159.png

 

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.