<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Exclude usage metric reports from Embedded application in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Exclude-usage-metric-reports-from-Embedded-application/m-p/2190500#M32922</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an Angular 13 application that embeds Power BI reports.&amp;nbsp; I get all the reports from a workspaces and display them as links on the application for the user to choose which report to view.&amp;nbsp; I am getting the usage metric report coming over with the list of workspace reports.&amp;nbsp; Looking at the forums it says you need to filter out the usage reports after you get the list of reports.&amp;nbsp; This is fine but I cannot find any code showing how to do this.&amp;nbsp; Please can you provide some code or an explanation of how to filter the usage reports.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 15 Nov 2021 14:39:39 GMT</pubDate>
    <dc:creator>LanceM</dc:creator>
    <dc:date>2021-11-15T14:39:39Z</dc:date>
    <item>
      <title>Exclude usage metric reports from Embedded application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Exclude-usage-metric-reports-from-Embedded-application/m-p/2190500#M32922</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an Angular 13 application that embeds Power BI reports.&amp;nbsp; I get all the reports from a workspaces and display them as links on the application for the user to choose which report to view.&amp;nbsp; I am getting the usage metric report coming over with the list of workspace reports.&amp;nbsp; Looking at the forums it says you need to filter out the usage reports after you get the list of reports.&amp;nbsp; This is fine but I cannot find any code showing how to do this.&amp;nbsp; Please can you provide some code or an explanation of how to filter the usage reports.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 14:39:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Exclude-usage-metric-reports-from-Embedded-application/m-p/2190500#M32922</guid>
      <dc:creator>LanceM</dc:creator>
      <dc:date>2021-11-15T14:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude usage metric reports from Embedded application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Exclude-usage-metric-reports-from-Embedded-application/m-p/2196147#M32984</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/330588"&gt;@LanceM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How did you get Web list of your reports from Power BI Workspace? Did you use Power BI Rest API?&lt;/P&gt;
&lt;P&gt;If you use Power BI Rest API, I think you use "Get Reports in Group" Function.&lt;/P&gt;
&lt;P&gt;Here is the offical blog about&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/reports/get-reports-in-group" target="_self"&gt;Get Reports in Group&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Here is a post with similar requirement to &lt;A href="https://community.powerbi.com/t5/Power-Query/Filter-within-API-Request/td-p/906774" target="_self"&gt;filter in API request&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 08:45:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Exclude-usage-metric-reports-from-Embedded-application/m-p/2196147#M32984</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-18T08:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude usage metric reports from Embedded application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Exclude-usage-metric-reports-from-Embedded-application/m-p/2197379#M32997</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;thanks for your reply.&amp;nbsp; Yes I am using GetReportsInGroup in the Power BI Rest API to get my list of reports.&amp;nbsp; What I am after is the criteria to filter out from this list the usage metrics reports.&amp;nbsp; I have no problem filtering from a list, what I need is the properties to do this.&amp;nbsp; For example, if the report object had a property called report type and all the system generated usage metric reports had a report type value of "system" and the other reports had a report type value of "custom", I could easily filter out the system usage reports.&amp;nbsp; I cannot find any such property of the Report object to do a filter or if there was a method called something like GetNonSystemReportsInGroup. I could get what I need.&amp;nbsp; I don't mind filtering them out on the server or on the client in javascript but I don't see anyway of doing this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this post&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Developer/remove-quot-report-usage-metrics-report-quot-showing-on-embedded/m-p/2187453#M32888" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Developer/remove-quot-report-usage-metrics-report-quot-showing-on-embedded/m-p/2187453#M32888&lt;/A&gt;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/28904"&gt;@v-jiascu-msft&lt;/a&gt;&amp;nbsp;implied there was a way to do this but I couldn't find any code how to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can, please help.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 20:41:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Exclude-usage-metric-reports-from-Embedded-application/m-p/2197379#M32997</guid>
      <dc:creator>LanceM</dc:creator>
      <dc:date>2021-11-22T20:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude usage metric reports from Embedded application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Exclude-usage-metric-reports-from-Embedded-application/m-p/2306215#M34099</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; I am using the&amp;nbsp;&lt;SPAN&gt;GetReportsInGroup in the&amp;nbsp;Microsoft.PowerBI.Api nuget package&amp;nbsp;called from C#.&amp;nbsp; I can figure out how to use the filter, but I can't find anywhere WHAT to filter in order to filter out the "Usage Metric Reports".&amp;nbsp; They seem to have the same attributes as normal user-created reports so I cannot see where they differ.&amp;nbsp; Please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Lance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 21:57:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Exclude-usage-metric-reports-from-Embedded-application/m-p/2306215#M34099</guid>
      <dc:creator>LanceM</dc:creator>
      <dc:date>2022-01-27T21:57:42Z</dc:date>
    </item>
  </channel>
</rss>

