Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
As in graph, I got one fact table and quite few referential ones - My goal to achieve is to let one filter (lets say Country) filter a city within this country, so if someone select Ref_Country = Germany, he or she has only german cities, german brands and german products available for him or her. So all filters crossfilter each other. Is this achieveable? How?
@Pbiuserr it is achievable.
The wrong way will be to use bi directional relationship.
The right way will be to use a measure dedicated for filtering the slicers.
I'm sharing here a video you will be happy to watch:
https://www.sqlbi.com/tv/syncing-slicers-in-power-bi/
And in any way you should make the city and country to 1 table and also the product and brand to 1 table and not like the photo you shared.
Hi,
It was just for the picture, for the clarity - in reality the filters are not tied to each other like City and Country, but I would not put there medical terms.
Anyway if I put them into 2 tables instead of 4, I will still need to apply the method from video, right?
You can try using cross filter direction as 'both' in the properties of your relationships in the data modelling tab
I was thinking about it initially. Will it work if there is no connection between lets say Ref_City and Ref_Product? Will choosing city "London" make only products available in London?
Does it have impact on calculations or not? or heavy impact on report performance?
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
89 | |
87 | |
35 | |
35 |
User | Count |
---|---|
154 | |
100 | |
83 | |
63 | |
54 |