Forum Discussion

jaryszek's avatar
jaryszek
Super User
1 year ago
Solved

How to hide parameters while embedding app?

Hello, how to hide parameters while embedding app - it is possible via javascriptapi?  best, Jacek
  • v-nmadadi-msft's avatar
    v-nmadadi-msft
    1 year ago

    Hi jaryszek,
    Thanks for reaching out to the Microsoft fabric community forum.

    To hide the filter pane when embedding a Power BI report using the JavaScript API, you can configure the settings property in your embed configuration. This allows you to control the visibility of various panes, including the filter pane and navigation pane.


    There is no direct method in the JavaScript API to hide Power Query parameters if they were exposed into the report via slicers or visuals.
    If your concern is hiding filter panes, slicers, or other UI elements that resemble parameters, here’s how you can control that using the Power BI JavaScript API:
    Configure embedded report settings | Microsoft Learn



    If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
    Thanks and Regards