cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hjameelq Regular Visitor
Regular Visitor

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
Moderator v-sihou-msft
Moderator

Re: Force the user to select an option

@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,

Baskar Super Contributor
Super Contributor

Re: Force the user to select an option

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 

hjameelq Regular Visitor
Regular Visitor

Re: Force the user to select an option

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

Baskar Super Contributor
Super Contributor

Re: Force the user to select an option

Cool my dear friend. Me too voted on that .

 

Hope we will get the option very soon.

 

 

Cheers 

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 350 members 3,278 guests
Please welcome our newest community members: