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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Slicers and page navigation

I ahve one slicer with column using is TYPE, it will be always having two values, Parts, vehicles and also I have enabled select all
I should have button also. If I select Vehicles in the slicer and click on button it should navigate to Vehicles page, If i select Parts in the slicer and click on button it should navigate to Parts page, If I Click on Select All in the slicer and click on button it should navigate to Parts & Vehicles page.
And also in the main page where we have slicer the charts should filter based on selection in slicer
How to achieve it

Please help

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

 

Please try this:

Here I create a set of sample:

vzhengdxumsft_0-1720505507015.png

Then create 4 page in the report:

vzhengdxumsft_1-1720505533347.png

Next add a measure:

MEASURE =
VAR _selected =
    VALUES ( 'Table'[Select] )
VAR _Slicer =
    IF (
        ISFILTERED ( 'Table'[Select] ),
        CONCATENATEX ( _selected, [Select] ),
        BLANK ()
    )
RETURN
    SWITCH (
        _Slicer,
        "Parts", "Parts",
        "Vehicles", "Vehicles",
        "VehiclesParts", "Vehicles&Parts"
    )

add a Slicer and a button in the main page:

vzhengdxumsft_2-1720505582967.png

Put the measure in the Style > Text and Select Page navigation in the action and put the measure in the Destination.

vzhengdxumsft_3-1720505663307.pngvzhengdxumsft_4-1720505696302.png

The result is as follow:

vzhengdxumsft_5-1720505845305.pngvzhengdxumsft_6-1720505851679.pngvzhengdxumsft_7-1720505858548.png

 

 

Best Regards

Zhengdong Xu
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

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous 

 

Please try this:

Here I create a set of sample:

vzhengdxumsft_0-1720505507015.png

Then create 4 page in the report:

vzhengdxumsft_1-1720505533347.png

Next add a measure:

MEASURE =
VAR _selected =
    VALUES ( 'Table'[Select] )
VAR _Slicer =
    IF (
        ISFILTERED ( 'Table'[Select] ),
        CONCATENATEX ( _selected, [Select] ),
        BLANK ()
    )
RETURN
    SWITCH (
        _Slicer,
        "Parts", "Parts",
        "Vehicles", "Vehicles",
        "VehiclesParts", "Vehicles&Parts"
    )

add a Slicer and a button in the main page:

vzhengdxumsft_2-1720505582967.png

Put the measure in the Style > Text and Select Page navigation in the action and put the measure in the Destination.

vzhengdxumsft_3-1720505663307.pngvzhengdxumsft_4-1720505696302.png

The result is as follow:

vzhengdxumsft_5-1720505845305.pngvzhengdxumsft_6-1720505851679.pngvzhengdxumsft_7-1720505858548.png

 

 

Best Regards

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

Anonymous
Not applicable

Hi

Create a measure such that

Page Navigation= switch(True(),

Selectedvalue(TYPE) = "Parts", "Parts",

Selectedvalue(TYPE) = "Vehicle", "Vehicle",

"Parts&Vehicle")

 

Put this measure in button-action-page navigation 

 

On the main page, the slicer will filter the values by default.

Anonymous
Not applicable

Hi @Anonymous ,
This helped me Thanks!!

Can you please help me on other thing like, if I select one carrier code in table chart in main page it should also filter that in the Navigation page
How to achieve please tell me if you know

Thnaks!!

Anonymous
Not applicable

Hi @Anonymous 

 

If your current issue has been resolved, could you please mark the helpful post as AnsweredIt will help the others in the community find the solution easily if they face the same problem as yours.

And if you meet the new problem, please post a new post on the forum.

Thank you very much for your kind cooperation.

 

Best Regards

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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors