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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
jayanthan
Helper III
Helper III

Filter Data | Between dimension tables

Hi there,

 

I have an issue of filtering data between master tables. For an instance, there is a relationship between sales, organization table, and product table. when I filter the organization, the chart gets filtered. however, the product does not get filtered based on organisation as there is no direct relationship between the organisation and product table. When I try to create a relationship between organisation and product table following error pops up. Please advise

jayanthan_1-1596797211557.png

 

jayanthan_2-1596797261525.png

 

 

 

Regards,

Jayanthan

 

 

5 REPLIES 5
V-pazhen-msft
Community Support
Community Support

@jayanthan 

You need a many side table to remove the ambiguity. It seems all tables are having unique values, in this case you could just merge the 3 tables into 1 table. 

 

Organisation Id, Product ID, Name, Value, Product name. 


Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @V-pazhen-msft ,

 

Like the sales fact table,  the power bi file has purchase, profit, and many more table related products and organisation. Hence, it's not the right way to merge fact tables with dimension tables.

ibarrau
Super User
Super User

Hi. I would suggest you to keep the model with single relationships and follow this practise:

https://blog.ladataweb.com.ar/post/185907335292/datamodeling-sincronizar-filtros-entre

You can get the dimension filtered by each other with their matches inside a fact. You need a measure to filter it. The post contains a more detail explanation.

You can also check this user that had the same issue:

https://community.powerbi.com/t5/Desktop/Filtre-between-dimension-doesnt-work-with-a-single-column/m...

 

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

DataMozart
Frequent Visitor

Hi jayanthan,

Can you please share a screenshot of the model view from the PBI Desktop? I've tried to mimic your data model and PBI automatically created bidirectional relationships between the entities (please have a look at the screenshot attached), without any error messages popping up.

 

 

Capture.PNG

Hi @DataMozart ,

 

It would be difficult to analyze using the data model as the power bi has many table. Please find the requested screenshot below:

 

jayanthan_0-1597062156287.png

 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.