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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Filter dimension values based on User selection

There are 2 table with no relation (created based on requirement).
first with 2 values User and Team, second with data distributed on tool with either User and teams , not all tools have User data but all tools have teams data. there is a column that determines this tools have no. of user or no. of teams(like below) .

Tool    type      usernames                  teams

  A       user     distinct usernames    distinct teamnames

  B       team                                      distinct teamnames

  c       user      distinct usernames    distinct teamnames

  D     team                                        distinct teamnames

 

Now we have a slicer from Table one for User or Team selection where if User is selected then charts reflect data only for tools that have user data and if teams is selected then all the tools data is shown. this works fine with charts as its more of change in measure and in measure we can add filters.
My problem is with slicer where i want to show tools based on selection if user is selected from table one then show only tools where user data is present and if Tool is selected then show all the tools for selection in the slicer 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

Thanks for the reply!

 

i was trying to acheive it with the ways it works in other BI Tool.


i didn't had relation between these 2 table wanted to acheive something like if( selection in Table1(field) =User, Table2[show tool only with User data](Filtered tools column) , Table2[show all tools]

 

Made some data model changes and got the solution.

Created NewTable1 with 2 column, Type and tool name from Table2.

         - First added tools with only user data and type-User

         - added all tools with type- Team

Created relation based on Tool column between NewTable1 and Table2 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

If I understand correctly, it seems that you want to show the tools on the slicer base on the selected type. Am I right? If yes, you can refer the following links to get it:

Solved: Filter slicer based on other slicer selection - Microsoft Fabric Community

vyiruanmsft_2-1693462343536.png

 

Solved: Change Slicer option based on other Slicer - Microsoft Fabric Community

Filter One Slicer Based on Another Slicer in Power BI - Excelerator BI

vyiruanmsft_0-1693461985197.png

Best Regards

Anonymous
Not applicable

Hi @Anonymous 

Thanks for the reply!

 

i was trying to acheive it with the ways it works in other BI Tool.


i didn't had relation between these 2 table wanted to acheive something like if( selection in Table1(field) =User, Table2[show tool only with User data](Filtered tools column) , Table2[show all tools]

 

Made some data model changes and got the solution.

Created NewTable1 with 2 column, Type and tool name from Table2.

         - First added tools with only user data and type-User

         - added all tools with type- Team

Created relation based on Tool column between NewTable1 and Table2 

Anonymous
Not applicable

Hi @Anonymous ,

It's glad to hear that you got the solution. And thanks for sharing your solution here. Could you please mark your post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours.  Thank you.

Best Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.