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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Davekk
New Member

Preselected slicer - Issue

Hello Everyone,

 

I'm currently struggling with a problem with a custom visual called preselected slicer... When I have two of them on one page and I try to filter one of them, all the data disappears from the page... Has anyone experienced something like this or know how to avoid it? In the example below I have filtered 2013.


I will be glad for any help or explanation.

 

 Thanks,

 

Before.PNGAfter.PNG

1 ACCEPTED SOLUTION
Daniel29195
Community Champion
Community Champion

@Davekk 

it could be the dirty status column that you have added is the reason of such issue. 

try using the approach described here for the dirty status  .

https://community.fabric.microsoft.com/t5/Desktop/Date-slicer-in-report-to-default-to-the-latest-ava...

 

 

from what i remember ( maybe it could help) , i think you need to have different column for the dirty status per each pre selected slicer. by that i mean, if you war working with 2 slicers, you need to create a table with the following data : 

 

_PreselectedSlicer = DATATABLE(
    "IsDirtySlicer1", BOOLEAN, "IsDirtySlicer2", BOOLEAN,
    {
        {FALSE(), FALSE()},
        {FALSE(), TRUE()},
        {TRUE(), FALSE()},
        {TRUE(), TRUE()}
    }
)

Daniel29195_0-1709759968570.png

 

 

hope this helps  you out ./ 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠:

 

View solution in original post

1 REPLY 1
Daniel29195
Community Champion
Community Champion

@Davekk 

it could be the dirty status column that you have added is the reason of such issue. 

try using the approach described here for the dirty status  .

https://community.fabric.microsoft.com/t5/Desktop/Date-slicer-in-report-to-default-to-the-latest-ava...

 

 

from what i remember ( maybe it could help) , i think you need to have different column for the dirty status per each pre selected slicer. by that i mean, if you war working with 2 slicers, you need to create a table with the following data : 

 

_PreselectedSlicer = DATATABLE(
    "IsDirtySlicer1", BOOLEAN, "IsDirtySlicer2", BOOLEAN,
    {
        {FALSE(), FALSE()},
        {FALSE(), TRUE()},
        {TRUE(), FALSE()},
        {TRUE(), TRUE()}
    }
)

Daniel29195_0-1709759968570.png

 

 

hope this helps  you out ./ 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠:

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors