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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

how to get slicer selected page automatically when selecting particular slicer in a sharepoint site



when I i redirect a page with perticular slicer selected i coudent see the other names which are present in the dropdown ,how should i resolve it by using java script code.


power BI slicer error.PNGpower BI slicer error2.PNG


Status: Needs Info
Community Support

Hi @sai2,


Do you embed report in SharePoint on-premise online or on-premise? How do you embed it? 

How do you "redirect" a page when you select "Andrew Ma" in the slicer visual? 


Please share detail steps for us to reproduce the issue. 


Best Regards,
Qiuyun Yu 

Impactful Individual
Status changed to: Needs Info
Frequent Visitor

Hi @v-qiuyu-msft


   We have embeded the report into sharpeoint on-premises site and we have embeded it by using code.


   For example when i navigate to page like:  http://nasspsqld01/sites/KAM/revenuebridge?ParentID=113&CustomerName=Andrew Ma  .The slicer is not selected (i mean its not  highlited) to the perticular name or item.






Community Support

Hi @sai2,


As you already pass the filter "CustomerName=Andrew Ma" in URL, all report data will be filtered based on this condition. So it's expected that the slicer only has "Andrew Ma" available. 


Best Regards,
Qiuyun Yu