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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
hjameelq
Helper I
Helper I

Force the user to select an option

If I have a list of cities and I need to froce the user to select one of the list - apart from the single selection - because the whole view doesn't make any sense because each city present 100 percent so I don't need to view the data without filteration. Is there a way that I can force the user to select a city or set one city as a default selection but I don't want the user to uncheck all, one option has to be selected. Is there a way to do this.

 

One more thing, If I want to filter at report level, but I want to do this by using the embedded link, can I do that, because I tried but the filter control I added filtered only at page level. 

 

I would really appreicate your help with these two issues. 

 

 

4 REPLIES 4
Baskar
Resident Rockstar
Resident Rockstar

1. Now we don't have the option for default value selection in slicer.

 

2. Global filter also we can't set , i think now power BI team working on global filter for entire Report.

 

In this case , am very sorry of u my dear friend.

 

an look this threed for your reference .

 

http://community.powerbi.com/t5/Desktop/How-to-create-a-table-of-contents/m-p/109444#M46030 

Thanks Baskar, I noticed that many people voted for this on Power BI

Cool my dear friend. Me too voted on that .

 

Hope we will get the option very soon.

 

 

Cheers 

v-sihou-msft
Employee
Employee

@hjameelq

 

In Power BI Desktop, if you want to force user to select on option, you can use Query Parameter and set Filter on table in Query Editor.

 

1233.PNG

 

1234.PNG

 

1235.PNG

 

1236.PNG

 

To add filter within embedded link, you can set filter parameter in Report URL. For more details, please refer to a similar thread:

 

http://stackoverflow.com/questions/35555694/passing-parameters-to-power-bi-filter-programmatically

 

Regards,

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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