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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
pratikrami
Regular Visitor

How to set default selection to blank for single selection slicer ?

Requirment : I want to develop a Dashboard with 2 pages. both will have same visuals. Also I have added slicer on page 1 and its hidden on page 2. I want to integrate this dashboard in angular. So when I open this dashboard from angular I will pass page id of page 2 and slicer value in URL in filters. but Some users will access this dashboard directly not from Angular app. So they will see page 1 where they need to manually select slicer value from dropdown. How can I achieve this ? 

 

Already implemented and problem : As single selection slicer already contains default value, URL params doesnt work if I try this on published dashboard. It only works if blank is selected in slicer instead of default value. and I cant have blank value for that field as there is a one-to-many relation on that field.

3 REPLIES 3
v-lgarikapat
Community Support
Community Support

Hi @pratikrami ,

I wanted to follow up and confirm whether you’ve had the opportunity to review the information provided by @Ilgar_Zarbali , @mh2587 . If you have any questions or need further clarification, please don’t hesitate to reach out.

 

We appreciate your collaboration and support!

Best regards,
Lakshmi.

Ilgar_Zarbali
Super User
Super User

Power BI single-select slicers always default to one value selected when the field has no blanks. Because of this:

  • Your Angular URL filter can’t override the slicer when a default value is already applied.
  • Multi-select slicers allow deselection, but single-select does not, unless a blank option exists.

1-Add a “blank” option in the data model (recommended)

  • In Power Query or DAX, create a union table that adds a blank row:

SlicerTable =
UNION (
ROW ( "YourField", BLANK() ),
DISTINCT ( YourTable[YourField] )
)

  • Relate this new table to your fact table using a many-to-one relationship (single direction).
  • Now, slicer defaults to blank, letting URL filters take precedence.

2-Use a disconnected table for the slicer

  • Create a disconnected table with the field values plus a blank row.
  • Use a measure to control visuals with TREATAS:

SelectedValueMeasure =
CALCULATE (
SELECTEDVALUE ( FactTable[YourField] ),
TREATAS ( VALUES ( SlicerTable[YourField] ), FactTable[YourField] )
)

  • This gives you full control over the slicer without affecting relationships.

3-Apply a default bookmark

  • Save a bookmark with no slicer value selected (after adding a blank option).
  • Set the bookmark as the default view.
  • This ensures page 1 opens with the slicer blank.

4-Use relative filtering (if possible)

If the field supports a relative condition (e.g., date ranges), you can switch the slicer to relative mode, but this is less flexible for categorical fields.

 

To make the slicer truly start blank for direct users and allow Angular filters to work, you must add a blank option to the slicer’s source table or use a disconnected table approach with DAX. Power BI doesn’t natively allow single-selection slicers to default to no selection otherwise.

 

 

 

 

 

 

mh2587
Super User
Super User

Turn single select OFF, and enforce single selection with a DAX measure:

SelectedValueCheck = //Try this might help you
IF (
HASONEVALUE(Table[Column]),
1,
ERROR("Please select only one value")
)

 


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



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 Solution Authors