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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
VaibhaviSawant
New Member

Filter out values of dropdown based on another column

We have tracking frequency namely Daily, Weekly, Monthly, Quarterly which we have shown in dropdown using field parameter.

The dropdown should show frequencies which are equal to or greater than the lowest frequency of the selected KPI. Eg If the user selects Weekly, dropdowns should only have Weekly,Monthly,Quarterly. 
Also the selected frequency column is stored in KPI table.
We have order column in both KPI table and field parameter table for tracking frequency.

Tracking FrequencyOrder
Daily1
Weekly2
Monthly3
Quarterly4

 

How can I filter values of dropdown (field paramater) based on the selected frequency?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @VaibhaviSawant ,

 

I suggest you to create an unrelated table for slicer.

Lowest frequency = 
DATATABLE(
    "Parameter",STRING,
    "Order",INTEGER,
    {{"Daily",0},
    {"Weekly",1},
    {"Monthly",2},
    {"Quarterly",3}
}
)

Then create a measure.

Measure = 
VAR _SELECT = SELECTEDVALUE('Lowest frequency'[Order])
RETURN
IF(MAX(Parameter[Parameter Order])>=_SELECT,1,0)

Add this measure into parameter field slicer and set it to show items when value =1.

vrzhoumsft_0-1688636954444.png

Best Regards,
Rico Zhou

 

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
MuthulakshmiM
New Member

It works!

Anonymous
Not applicable

Hi @VaibhaviSawant ,

 

I suggest you to create an unrelated table for slicer.

Lowest frequency = 
DATATABLE(
    "Parameter",STRING,
    "Order",INTEGER,
    {{"Daily",0},
    {"Weekly",1},
    {"Monthly",2},
    {"Quarterly",3}
}
)

Then create a measure.

Measure = 
VAR _SELECT = SELECTEDVALUE('Lowest frequency'[Order])
RETURN
IF(MAX(Parameter[Parameter Order])>=_SELECT,1,0)

Add this measure into parameter field slicer and set it to show items when value =1.

vrzhoumsft_0-1688636954444.png

Best Regards,
Rico Zhou

 

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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