Page 8110 Subscription Overview Power BI

Subscription Billing, Microsoft.PowerBIReports

src/Apps/W1/Subscription Billing/App/Power BI/Embedded/SubscriptionOverviewPowerBI.Page.al54 lines, Copyright (c) Microsoft Corporation. MIT

namespace Microsoft.PowerBIReports;using System.Integration.PowerBI;page 8110 "Subscription Overview Power BI"{    UsageCategory = ReportsAndAnalysis;    ApplicationArea = All;    PageType = UserControlHost;    Caption = 'Subscription Overview (Power BI)';    AboutTitle = 'About Subscription Overview (Power BI)';    AboutText = 'The Subscription Overview provides a comprehensive view of subscription performance, offering insights into metrics such as Monthly Recurring Revenue, Total Contract Value, Churn and top-performing customers or vendors.';    layout    {        area(Content)        {            usercontrol(PowerBIAddin; PowerBIManagement)            {                ApplicationArea = All;                trigger ControlAddInReady()                begin                    SetupHelper.InitializeEmbeddedAddin(CurrPage.PowerBIAddin, ReportId, ReportPageLbl);                end;                trigger ReportLoaded(ReportFilters: Text; ActivePageName: Text; ActivePageFilters: Text; CorrelationId: Text)                begin                    SetupHelper.LogReportLoaded(CorrelationId);                end;                trigger ErrorOccurred(Operation: Text; ErrorText: Text)                begin                    SetupHelper.LogError(Operation, ErrorText);                    SetupHelper.ShowPowerBIErrorNotification(Operation, ErrorText);                end;            }        }    }    var        SetupHelper: Codeunit "Power BI Report Setup";        ReportId: Guid;#pragma warning disable AA0240 // Bug 595848        ReportPageLbl: Label '04fa320747962435bf38', Locked = true;#pragma warning restore AA0240    trigger OnOpenPage()    begin        ReportId := SetupHelper.OpenPowerBIEmbeddedReportPageValidation("PBI Report Setup"::"Subscription Billing App");    end;}