Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All, New to PowerBI.
One of the columns I have is the code for the country (206,250 etc) and I am trying to create a slicer that shows only the country names available within the data table.
I am able to create a distinc table which in my case is a column for France and Germany codes. I have another table with the code and it's repective name.
Altough I could not find a way to create a new table only for these two values dinamically.
Any ideas?
Thanks!
Solved! Go to Solution.
Hi, The relationship only is not enouh the slicer shows all countries.
I figured it out by adding the following column:
Hi @rssilvaba
Its unclear from your task description, but maybe it will be enough just to create relationships between tables?
you could provide your input data and desired output in order to help you more quality
do not hesitate to give a kudo to useful posts and mark solutions as solution
Hi, The relationship only is not enouh the slicer shows all countries.
I figured it out by adding the following column:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 73 | |
| 66 | |
| 65 |