From 05ac118dcc87b2ff7a8dd0f75f013a6260a770f1 Mon Sep 17 00:00:00 2001 From: robertitoPBI Date: Tue, 25 Aug 2026 13:56:53 -0300 Subject: [PATCH] Add new page to Flight Sales Report --- .../pages/6ce866d0e2e7930ce108/page.json | 80 ++++ .../visuals/649613255cea9fabbb77/visual.json | 395 ++++++++++++++++++ .../visuals/c3547f78145a824262f6/visual.json | 381 +++++++++++++++++ .../definition/pages/pages.json | 6 +- 4 files changed, 860 insertions(+), 2 deletions(-) create mode 100644 DataOps/Flight Sales Report.Report/definition/pages/6ce866d0e2e7930ce108/page.json create mode 100644 DataOps/Flight Sales Report.Report/definition/pages/6ce866d0e2e7930ce108/visuals/649613255cea9fabbb77/visual.json create mode 100644 DataOps/Flight Sales Report.Report/definition/pages/6ce866d0e2e7930ce108/visuals/c3547f78145a824262f6/visual.json diff --git a/DataOps/Flight Sales Report.Report/definition/pages/6ce866d0e2e7930ce108/page.json b/DataOps/Flight Sales Report.Report/definition/pages/6ce866d0e2e7930ce108/page.json new file mode 100644 index 0000000..84b6e5b --- /dev/null +++ b/DataOps/Flight Sales Report.Report/definition/pages/6ce866d0e2e7930ce108/page.json @@ -0,0 +1,80 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/page/2.1.0/schema.json", + "name": "6ce866d0e2e7930ce108", + "displayName": "Other Stats", + "displayOption": "FitToPage", + "height": 720, + "width": 1280, + "objects": { + "background": [ + { + "properties": { + "image": { + "image": { + "name": { + "expr": { + "Literal": { + "Value": "'image_426e4ec7.png'" + } + } + }, + "url": { + "expr": { + "ResourcePackageItem": { + "PackageName": "RegisteredResources", + "PackageType": 1, + "ItemName": "image_426e4ec740781223201996764.png" + } + } + }, + "scaling": { + "expr": { + "Literal": { + "Value": "'Normal'" + } + } + } + } + }, + "transparency": { + "expr": { + "Literal": { + "Value": "82D" + } + } + }, + "color": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 1, + "Percent": 0.2 + } + } + } + } + } + } + } + ], + "outspace": [ + { + "properties": { + "color": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 1, + "Percent": 0.2 + } + } + } + } + } + } + } + ] + } +} \ No newline at end of file diff --git a/DataOps/Flight Sales Report.Report/definition/pages/6ce866d0e2e7930ce108/visuals/649613255cea9fabbb77/visual.json b/DataOps/Flight Sales Report.Report/definition/pages/6ce866d0e2e7930ce108/visuals/649613255cea9fabbb77/visual.json new file mode 100644 index 0000000..bf0bde4 --- /dev/null +++ b/DataOps/Flight Sales Report.Report/definition/pages/6ce866d0e2e7930ce108/visuals/649613255cea9fabbb77/visual.json @@ -0,0 +1,395 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.12.0/schema.json", + "name": "649613255cea9fabbb77", + "position": { + "x": 17.874321179208689, + "y": 10.923196276183088, + "z": 2000, + "height": 691.14041892940259, + "width": 686.17532971295577, + "tabOrder": 2000 + }, + "visual": { + "visualType": "scatterChart", + "query": { + "queryState": { + "Category": { + "projections": [ + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "dim_Calendar" + } + }, + "Property": "YEAR" + } + }, + "queryRef": "dim_Calendar.YEAR", + "nativeQueryRef": "Sum of YEAR", + "active": true + } + ] + }, + "Size": { + "projections": [] + }, + "X": { + "projections": [ + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "AirFareCarrier" + } + }, + "Property": "average_market_fare_real" + } + }, + "Function": 0 + } + }, + "queryRef": "Sum(AirFareCarrier.average_market_fare_real)", + "nativeQueryRef": "Sum of average_market_fare_real", + "active": true + } + ] + }, + "Y": { + "projections": [ + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "AirFareCarrier" + } + }, + "Property": "market_revenue_real" + } + }, + "Function": 0 + } + }, + "queryRef": "Sum(AirFareCarrier.market_revenue_real)", + "nativeQueryRef": "Sum of market_revenue_real" + } + ] + } + } + }, + "objects": { + "categoryLabels": [ + { + "properties": { + "show": { + "expr": { + "Literal": { + "Value": "true" + } + } + }, + "color": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 0, + "Percent": -0.1 + } + } + } + } + } + } + } + ], + "trend": [ + { + "properties": { + "show": { + "expr": { + "Literal": { + "Value": "true" + } + } + }, + "displayName": { + "expr": { + "Literal": { + "Value": "'Trend line 1'" + } + } + }, + "lineColor": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 2, + "Percent": 0 + } + } + } + } + } + } + } + ], + "valueAxis": [ + { + "properties": { + "gridlineShow": { + "expr": { + "Literal": { + "Value": "false" + } + } + }, + "showAxisTitle": { + "expr": { + "Literal": { + "Value": "false" + } + } + }, + "labelColor": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 0, + "Percent": 0 + } + } + } + } + } + } + } + ], + "categoryAxis": [ + { + "properties": { + "gridlineShow": { + "expr": { + "Literal": { + "Value": "false" + } + } + }, + "showAxisTitle": { + "expr": { + "Literal": { + "Value": "false" + } + } + }, + "labelColor": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 0, + "Percent": 0 + } + } + } + } + } + } + } + ], + "dataPoint": [ + { + "properties": { + "fill": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 9, + "Percent": 0.6 + } + } + } + } + } + } + } + ], + "markers": [ + { + "properties": { + "borderColorMatchFill": { + "expr": { + "Literal": { + "Value": "false" + } + } + }, + "borderColor": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 9, + "Percent": 0 + } + } + } + } + } + } + } + ] + }, + "visualContainerObjects": { + "background": [ + { + "properties": { + "color": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 1, + "Percent": 0.2 + } + } + } + } + }, + "transparency": { + "expr": { + "Literal": { + "Value": "5D" + } + } + } + } + } + ], + "title": [ + { + "properties": { + "fontColor": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 0, + "Percent": 0 + } + } + } + } + }, + "text": { + "expr": { + "Literal": { + "Value": "'Revenue & Miles by Year'" + } + } + }, + "alignment": { + "expr": { + "Literal": { + "Value": "'center'" + } + } + } + } + } + ], + "divider": [ + { + "properties": { + "show": { + "expr": { + "Literal": { + "Value": "true" + } + } + }, + "color": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 9, + "Percent": 0 + } + } + } + } + } + } + } + ] + }, + "drillFilterOtherVisuals": true + }, + "filterConfig": { + "filters": [ + { + "name": "a6b554fc55c6ae9d0d26", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "dim_Calendar" + } + }, + "Property": "YEAR" + } + }, + "type": "Advanced" + }, + { + "name": "afe8b2d6c9a7176d8b1c", + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "AirFareCarrier" + } + }, + "Property": "average_market_fare_real" + } + }, + "Function": 0 + } + }, + "type": "Advanced" + }, + { + "name": "40b95372ba37372fbb72", + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "AirFareCarrier" + } + }, + "Property": "market_revenue_real" + } + }, + "Function": 0 + } + }, + "type": "Advanced" + } + ] + } +} \ No newline at end of file diff --git a/DataOps/Flight Sales Report.Report/definition/pages/6ce866d0e2e7930ce108/visuals/c3547f78145a824262f6/visual.json b/DataOps/Flight Sales Report.Report/definition/pages/6ce866d0e2e7930ce108/visuals/c3547f78145a824262f6/visual.json new file mode 100644 index 0000000..a4b0aa7 --- /dev/null +++ b/DataOps/Flight Sales Report.Report/definition/pages/6ce866d0e2e7930ce108/visuals/c3547f78145a824262f6/visual.json @@ -0,0 +1,381 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.12.0/schema.json", + "name": "c3547f78145a824262f6", + "position": { + "x": 719.19732441471581, + "y": 10.702341137123746, + "z": 1000, + "height": 690.30100334448161, + "width": 543.67892976588632, + "tabOrder": 1000 + }, + "visual": { + "visualType": "barChart", + "query": { + "queryState": { + "Category": { + "projections": [ + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "GatewaysNonstop" + } + }, + "Property": "city" + } + }, + "queryRef": "GatewaysNonstop.city", + "nativeQueryRef": "city", + "active": true + } + ] + }, + "Series": { + "projections": [ + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "dim_Calendar" + } + }, + "Property": "YEAR" + } + }, + "queryRef": "dim_Calendar.YEAR", + "nativeQueryRef": "YEAR" + } + ] + }, + "Y": { + "projections": [ + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "GatewaysNonstop" + } + }, + "Property": "Value" + } + }, + "Function": 0 + } + }, + "queryRef": "Sum(GatewaysNonstop.Value)", + "nativeQueryRef": "Sum of Value" + } + ] + } + }, + "sortDefinition": { + "sort": [ + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "GatewaysNonstop" + } + }, + "Property": "Value" + } + }, + "Function": 0 + } + }, + "direction": "Descending" + } + ], + "isDefaultSort": true + } + }, + "objects": { + "valueAxis": [ + { + "properties": { + "showAxisTitle": { + "expr": { + "Literal": { + "Value": "false" + } + } + }, + "labelColor": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 0, + "Percent": 0 + } + } + } + } + } + } + } + ], + "categoryAxis": [ + { + "properties": { + "titleColor": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 0, + "Percent": 0 + } + } + } + } + }, + "showAxisTitle": { + "expr": { + "Literal": { + "Value": "false" + } + } + }, + "labelColor": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 0, + "Percent": 0 + } + } + } + } + } + } + } + ], + "dataPoint": [ + { + "properties": { + "fill": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 4, + "Percent": 0 + } + } + } + } + } + }, + "selector": { + "data": [ + { + "scopeId": { + "Comparison": { + "ComparisonKind": 0, + "Left": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "dim_Calendar" + } + }, + "Property": "YEAR" + } + }, + "Right": { + "Literal": { + "Value": "2022L" + } + } + } + } + } + ] + } + }, + { + "properties": { + "fill": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 2, + "Percent": 0 + } + } + } + } + } + }, + "selector": { + "data": [ + { + "scopeId": { + "Comparison": { + "ComparisonKind": 0, + "Left": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "dim_Calendar" + } + }, + "Property": "YEAR" + } + }, + "Right": { + "Literal": { + "Value": "2023L" + } + } + } + } + } + ] + } + } + ] + }, + "visualContainerObjects": { + "background": [ + { + "properties": { + "color": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 1, + "Percent": 0.2 + } + } + } + } + }, + "transparency": { + "expr": { + "Literal": { + "Value": "9D" + } + } + } + } + } + ], + "divider": [ + { + "properties": { + "show": { + "expr": { + "Literal": { + "Value": "true" + } + } + }, + "color": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 9, + "Percent": 0 + } + } + } + } + } + } + } + ], + "title": [ + { + "properties": { + "fontColor": { + "solid": { + "color": { + "expr": { + "ThemeDataColor": { + "ColorId": 0, + "Percent": 0 + } + } + } + } + }, + "text": { + "expr": { + "Literal": { + "Value": "'Revenue by Carrier'" + } + } + } + } + } + ] + }, + "drillFilterOtherVisuals": true + }, + "filterConfig": { + "filters": [ + { + "name": "32526a76e9f11e0e4b0c", + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "GatewaysNonstop" + } + }, + "Property": "Value" + } + }, + "Function": 0 + } + }, + "type": "Advanced" + }, + { + "name": "4bcb21bbdbea715b1204", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "GatewaysNonstop" + } + }, + "Property": "city" + } + }, + "type": "Categorical" + }, + { + "name": "092478aaa80f7c2fdaf4", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "dim_Calendar" + } + }, + "Property": "YEAR" + } + }, + "type": "Advanced" + } + ] + } +} \ No newline at end of file diff --git a/DataOps/Flight Sales Report.Report/definition/pages/pages.json b/DataOps/Flight Sales Report.Report/definition/pages/pages.json index ea84521..341faca 100644 --- a/DataOps/Flight Sales Report.Report/definition/pages/pages.json +++ b/DataOps/Flight Sales Report.Report/definition/pages/pages.json @@ -1,7 +1,9 @@ { "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/pagesMetadata/1.1.0/schema.json", "pageOrder": [ - "74b7084d049e106216dc" + "74b7084d049e106216dc", + "6ce866d0e2e7930ce108" ], - "activePageName": "74b7084d049e106216dc" + "activePageName": "74b7084d049e106216dc", + "landingPageName": "74b7084d049e106216dc" } \ No newline at end of file