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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Creating field parameters to filter the table

Hi , I have a table with multiple columns that I am displaying on the dashboard, like this 

 

aqsa31_0-1706265770043.png

 

By default I want to exclude unpublished courses and just show the courses where the status sis N/A or published like this 

aqsa31_2-1706266109241.png

 

 

But I also want to have a checkbox that when clicked shows the unpublished courses in the table and a slicer dropdown of courses 

like this 

 

aqsa31_3-1706266138459.png

 

I have tried creating a parameter but it just asks me to aggregate the values? 

How can I achieve this task? 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

You can refer to the following sample.

Sample data 

vxinruzhumsft_0-1706493438003.png

1.Create a slicer table

vxinruzhumsft_6-1706494848853.png

2.Create a measure and put the measure to the matrix visual filter.

Measure = VAR A=COUNTROWS(FILTER('Table',[Publish/Unpublish] IN {"Published","N/A"}))
return IF(ISFILTERED('Slicer'[CourceType]),1,IF(a>0,1,0))

vxinruzhumsft_3-1706493584179.png

3.Create a measure and put it to the course slicer visual filter.

Measure 2 = IF(ISFILTERED(Slicer[CourceType]),IF(SELECTEDVALUE('Table'[Publish/Unpublish]) in VALUES(Slicer[CourceType]),1,0),1)

vxinruzhumsft_7-1706495095869.png

4.Put the column of the slicer table to the slicer visual and put the course column to the other slicer.

Output

When the slicer is not chosen.

vxinruzhumsft_8-1706495117899.png

 

Choose the slicer.

vxinruzhumsft_9-1706495134287.png

Best Regards!

Yolo Zhu

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

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous 

You can refer to the following sample.

Sample data 

vxinruzhumsft_0-1706493438003.png

1.Create a slicer table

vxinruzhumsft_6-1706494848853.png

2.Create a measure and put the measure to the matrix visual filter.

Measure = VAR A=COUNTROWS(FILTER('Table',[Publish/Unpublish] IN {"Published","N/A"}))
return IF(ISFILTERED('Slicer'[CourceType]),1,IF(a>0,1,0))

vxinruzhumsft_3-1706493584179.png

3.Create a measure and put it to the course slicer visual filter.

Measure 2 = IF(ISFILTERED(Slicer[CourceType]),IF(SELECTEDVALUE('Table'[Publish/Unpublish]) in VALUES(Slicer[CourceType]),1,0),1)

vxinruzhumsft_7-1706495095869.png

4.Put the column of the slicer table to the slicer visual and put the course column to the other slicer.

Output

When the slicer is not chosen.

vxinruzhumsft_8-1706495117899.png

 

Choose the slicer.

vxinruzhumsft_9-1706495134287.png

Best Regards!

Yolo Zhu

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

 

 

 

 

 

 

lbendlin
Super User
Super User

That's not what field parameters are for. The work more like OLS, allowing you to selectively show columns and measures. What you want is more like RLS, and is achieved via slicers or the filter pane, from a single column.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors