Forum Discussion

dsummers's avatar
dsummers
New Member
8 years ago

PowerBI API still showing reports after setting Include in app to false

In my workspace i set "Include in app" to false. But in the api when i call:

var reports = await client.Reports.GetReportsInGroupAsync(_groupId);

it still gets report that set included in app to false. Is this broken?

3 Replies

  • In my workspace i set "Include in app" to false. But in the api when i call:

    var reports = await client.Reports.GetReportsInGroupAsync(_groupId);

    it still gets report that set included in app to false. Is this broken?

  • v-ljerr-msft's avatar
    v-ljerr-msft
    Microsoft Employee

    Hi dsummers,

     

    The "INCLUDE IN APP" option is used for you to decide which dashboards and reports you want to include in the Published App. But the Get Reports operation is used to get all reports from an App workspace (group), but not the published App

     

    So you'll stlll get the report that set included in app to false. :smileyhappy:

     

    Regards

    • dsummers's avatar
      dsummers
      New Member

      Is there a current way in the API to get only the reports i want included in the app? Or do i have to hard code to choose specific reports by name?