Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
I am dealing with an embedded application that is getting reports via this C# repository method
using (var client = new PowerBIClient(new Uri(_powerBiSettings.MainAddress), tokenData.tokenCredentials))
{
var reports = await client.Reports.GetReportsInGroupAsync(_powerBiSettings.GroupId);
return reports.Value
.Select(rep => new ReportSummary {ReportId = Guid.Parse(rep.Id), Name = rep.Name})
.ToList();
}
However in the list of reports, I am getting back a report called "Report Usage Metrics Report" which is a power bi default report for showing metrics of how many people are using my reports.
The way I am removing this report is adding the linq statement.
return reports.Value
.Select(rep => new ReportSummary {ReportId = Guid.Parse(rep.Id), Name = rep.Name})
.ToList();Is there some other way to remove this report from the list?
Thanks.
Solved! Go to Solution.
Hi @Anonymous,
According to the documentation here, it seems we can't filter it out in the first place. So we need to filter out the "Metrics reports" after we get all the reports.
Best Regards,
Dale
Hi @Anonymous,
According to the documentation here, it seems we can't filter it out in the first place. So we need to filter out the "Metrics reports" after we get all the reports.
Best Regards,
Dale
When I click "View solution in original post" it doesn't do anything. I really need to know how to filter out the "Metrics reports" after I get all the reports as suggested above. Please help.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |