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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Help with table filtering

Hi  frnds,

I have a Power BI report page with a table. I need to give the users the option to click a button and the table should filter the records based on a condition. Note :I dont want to use bookmarks here as it will create multiple pages.  Please refer to the pic below. If I click the button in the left "Well Name is NULL" the table should  filter for the condition WELLNAME = NULL and display only those records and likewise for the other buttons . Please suggest a way or approach to achieve this. Thanks in advance.

 

button.PNG

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

HI, @Anonymous 

For your requirement, you may try this way as below:

Step1:

Create three separate tables which only contain "Well Name is NULL", "PLATFORM is NULL", "START DATe is NULL"

8.JPG9.JPG

Step2:

Drag them into slicer

10.JPG

Step3:

Then create measure as below:

FILTER for WELLNAME = IF(ISFILTERED(WELLNAME[Column]),CALCULATE(SELECTEDVALUE('Table'[WELLNAME]),FILTER('Table','Table'[WELLNAME]<>BLANK())))

And drag it into visual level filter of table visual and set is blank

11.JPG

 

Then do the same for "PLATFORM is NULL", "START DATe is NULL"

Result:

12.JPG13.JPG

here is my sample pbix file, please try it

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
d_gosbell
Super User
Super User


@Anonymous wrote:

Note :I dont want to use bookmarks here as it will create multiple pages. 

 

Bookmarks don't create pages. You can use bookmarks to hold a set of filters for the current page or a selected visual. Buttons with bookmarks should be able to do exactly what you are after, just applying a filter to the table visual (you'd probably want to add another button to "clear all filters" )

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.