Forum Discussion

speedyspeedstar's avatar
speedyspeedstar
Regular Visitor
8 years ago

Embed report with Filter Panel expanded

Hello,

 

I've done some digging around and I can't find any settings to support embedding a report with the filters pane already expanded. When I embed a report I get this back on the right side of my report

 

 

And I'd rather have this view. If there's a setting I can pass in I'd rather like to use it but I can't find one in settings/documentation.

 

Here's what I'm currently passing into the Javascript API

    var config = {
        type: 'report',
        id: embedReportId,
        embedUrl: embedUrl,
        filters: @Html.Raw(Model.FilterList),
        accessToken: accessToken,
        settings: {
            filterPaneEnabled: true,
            navContentPaneEnabled: true,
            localeSettings: {
                language: "en",
                formatLocale: "en-au"
            }
        }
    };

Is there something like "filterPaneExpanded"?

1 Reply

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    speedyspeedstar wrote:

    Hello,

     

    I've done some digging around and I can't find any settings to support embedding a report with the filters pane already expanded. When I embed a report I get this back on the right side of my report

     

     

    And I'd rather have this view. If there's a setting I can pass in I'd rather like to use it but I can't find one in settings/documentation.

     

    Here's what I'm currently passing into the Javascript API

        var config = {
            type: 'report',
            id: embedReportId,
            embedUrl: embedUrl,
            filters: @Html.Raw(Model.FilterList),
            accessToken: accessToken,
            settings: {
                filterPaneEnabled: true,
                navContentPaneEnabled: true,
                localeSettings: {
                    language: "en",
                    formatLocale: "en-au"
                }
            }
        };

    Is there something like "filterPaneExpanded"?


    speedyspeedstar

    AFAIK, it is not supported. You can submit your request at the Power BI Ideas and vote it up.