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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
bonjourposte
Helper V
Helper V

Filter for two separate tables

This is probably easy, but I can't find the solution.  I'm trying to create a filter that I can click on to show me everything that is conditional formatted in my table.  I have two colours- green and yellow.  The problem is, they come from two separate tables in power query.  I want a button that users can click on to show them all the green lines (which will filter the table and thus the map beside it), and then another button that will show them all the yellow lines in the table.  (I already have a button to reset all filters).  

 

bonjourposte_0-1711043534049.png

 

Thanks!

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @bonjourposte 

 

Perhaps the following can help.

 

My sample:

vxuxinyimsft_0-1711076181204.png

 

Then I created conditional formatting for it.

vxuxinyimsft_1-1711076272218.png

 

Place the measure in the filter so that the visualization will only show data with a green color.

Then add Bookmark for this state.

vxuxinyimsft_2-1711076348012.png

 

Create a blank button, and set it up as shown here. Set the type to Bookmark, and point it to the corresponding Bookmark.

vxuxinyimsft_3-1711076538811.png

 

You can also directly set the Bookmark type button.

vxuxinyimsft_4-1711076710207.png

 

Setting the yellow button does the same thing.

 

Result:

vxuxinyimsft_5-1711084271777.png

 

vxuxinyimsft_0-1711084554634.png

 

Best Regards,
Yulia Xu

 

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

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @bonjourposte 

 

Perhaps the following can help.

 

My sample:

vxuxinyimsft_0-1711076181204.png

 

Then I created conditional formatting for it.

vxuxinyimsft_1-1711076272218.png

 

Place the measure in the filter so that the visualization will only show data with a green color.

Then add Bookmark for this state.

vxuxinyimsft_2-1711076348012.png

 

Create a blank button, and set it up as shown here. Set the type to Bookmark, and point it to the corresponding Bookmark.

vxuxinyimsft_3-1711076538811.png

 

You can also directly set the Bookmark type button.

vxuxinyimsft_4-1711076710207.png

 

Setting the yellow button does the same thing.

 

Result:

vxuxinyimsft_5-1711084271777.png

 

vxuxinyimsft_0-1711084554634.png

 

Best Regards,
Yulia Xu

 

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

Thanks so much, Yulia.  I did a version of this.  Because my columns were in two separate tables, I made two separate slicers:

 

bonjourposte_0-1711463513228.png

 

PijushRoy
Super User
Super User

Hi @bonjourposte 

Please create a sample pbix file with sample data (the model and table patter should match with your existing report) and share the PBIX file link (Google Drive, Dropbox, onedrive etc)
Do not forget to explain the expected result based on the sample data. Make sure that your explanation is referencing column names used in the sample data.

How to get your answer quickly - https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

How to provide sample data in the Power BI Forum  - https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

 


Let me know if that works for you


If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.

Thanks
Pijush
Linkedin




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors