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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
burtfarlander44
New Member

Filter Table on Field That is Dependent on Slicer Selection

I have a slicer with 2 selections, Course and Certification. I also have a separate field called Archived that is either TRUE or FALSE.

 

I am trying to filter the table on the archived value based on whether Course (FALSE) or Certification (TRUE) is selected in the slicer

 

I have tried using an IF statement nested with a FILTER statement with no luck.

4 REPLIES 4
v-denglli-msft
Community Support
Community Support

Hi @burtfarlander44 ,

 

Has the issue been solved?
Have there been any updates? Please feel free to ask me if you have any questions!

If the issue has been resolved, can you share your solution or mark helpful responses as solutions?


Best Regards,
Dengliang Li

Selva-Salimi
Super User
Super User

@burtfarlander44 

 

one easy solution is to write a modified column in your table as follows:

if ([archive] = "True" , "Certificate" , if ([archive]="false" , "Course" ))

you also can connect this modified column to your dimension which contains certificate/course or use this column in your calculations.

 

If this post helps, then I would appreciate a thumbs up and mark it as the solution to help the other members find it more quickly. 

Selva-Salimi
Super User
Super User

Hi @burtfarlander44 

 

what did you mean "seprate field"? are the slicers come from two dimention that are not related to your fact table?! does your fact table contain two column of which has the values ( true/false and certificate/course)?

By "separate" i mean a field that isn't part of the slicer. Essentially i want the slicer selection to filter the table and then based on that selection, i would like the table to be filtered further by only showing data for the true/false field designation  i.e. Slicer Course would show FALSE and slicer certification would show TRUE. 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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