This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi All,
I have 2 tables Vendor details and Oder Table. I want to use slicer for country.Means when user select country, the graph order quantity will change dynamaticall and display Vendor name. I have create index on Vendor details table to create relationship between both table. If im not using index,error message will pop up, dispaly the relationship is not active. But when successfull create relationship, then i use slice for country(Vendor Details) the order quantity graph does not change according to the slicer.
So what i shoul do?..Thanks for help and explanation.
Vendor Details
Vendor Name | Country |
MyApss Sdn.Bhd | Brunei |
TechSofoware Sdn Bhd | Malaysia |
TechSofoware Sdn Bhd | Malaysia |
HighTech Sdn.Bhd | Malaysia |
Sundrise Sdn.Bhd | China |
Order Table
Country | Order Quantity |
Brunei | 100 |
Malaysia | 87 |
China | 234 |
Solved! Go to Solution.
Would probably help to see your table relationships. It's not clear if Order Table has duplicate Country values in it? I would... expect it to, since it is ... orders 🙂
Since your Vendor Details table has duplicate Country too, you can't easily relate those. So, what I would do is create a single County table (use New Table on the Modeling banner and Countries = VALUES('Vendor Details'[Country]) to create a single table of just the unique country.
Then you can create a relationship between this new table and BOTH of the other 2 tables, and happily slice the data based off your new country table.
Would probably help to see your table relationships. It's not clear if Order Table has duplicate Country values in it? I would... expect it to, since it is ... orders 🙂
Since your Vendor Details table has duplicate Country too, you can't easily relate those. So, what I would do is create a single County table (use New Table on the Modeling banner and Countries = VALUES('Vendor Details'[Country]) to create a single table of just the unique country.
Then you can create a relationship between this new table and BOTH of the other 2 tables, and happily slice the data based off your new country table.
wow!..a great explanation..Thanks a lot!![]()
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 32 | |
| 25 | |
| 23 |