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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
biancakarremans
New Member

Filter on a slicer, based on a selected value in a parameter

Hi all,

We use parameters in our report. Those parameters are filled with measures that have filters in them, beneath an example of a calculated column which forms the base of one of those measures.

IF(
    RELATED('DM_CONFORM DIM_ZAAK'[Zaaktype code]) = "fictional code" &&
    RELATED('DM_CONFORM DIM_PRODUCT'[Product code]) = "fictional code" &&
    NOT(RELATED('DM_CONFORM DIM_ZAAK'[Zaakresultaat]) IN {"fictional code"}),
10)

The slicer shows all values that are possible in the 'Zaaktype code'. When selecting the parameter field that contains the filters above we want those filter options to be the only ones showing in the slicer. 

If anyone has suggestions, please let us know
1 REPLY 1
Ritaf1983
Super User
Super User

Hi @biancakarremans 

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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 Kudoed Authors