Page 8103 Revenue Analysis Power BI

Subscription Billing, Microsoft.PowerBIReports

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

namespace Microsoft.PowerBIReports;using System.Integration.PowerBI;page 8103 "Revenue Analysis Power BI"{    UsageCategory = ReportsAndAnalysis;    ApplicationArea = All;    PageType = UserControlHost;    Caption = 'Revenue Analysis (Power BI)';    AboutTitle = 'About Revenue Analysis (Power BI)';    AboutText = 'The Revenue Analysis report breaks down Monthly Recurring Revenue by various dimension such as billing rhythm, contract type or customer.';    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;        ReportPageLbl: Label 'abe45c8964230489e801', Locked = true;    trigger OnOpenPage()    begin        ReportId := SetupHelper.OpenPowerBIEmbeddedReportPageValidation("PBI Report Setup"::"Subscription Billing App");    end;}