diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5a482b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +**/.pbi/localSettings.json +**/.pbi/cache.abf \ No newline at end of file diff --git a/README.md b/README.md index b5d2ef1..da41996 100644 Binary files a/README.md and b/README.md differ diff --git a/demo/chak git power bi.Report/.platform b/demo/chak git power bi.Report/.platform new file mode 100644 index 0000000..17b6d02 --- /dev/null +++ b/demo/chak git power bi.Report/.platform @@ -0,0 +1,11 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/gitIntegration/platformProperties/2.0.0/schema.json", + "metadata": { + "type": "Report", + "displayName": "chak git power bi" + }, + "config": { + "version": "2.0", + "logicalId": "37220571-2a15-4eab-8b52-8ab5015dd377" + } +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/StaticResources/SharedResources/BaseThemes/CY25SU11.json b/demo/chak git power bi.Report/StaticResources/SharedResources/BaseThemes/CY25SU11.json new file mode 100644 index 0000000..db6d8fa --- /dev/null +++ b/demo/chak git power bi.Report/StaticResources/SharedResources/BaseThemes/CY25SU11.json @@ -0,0 +1,940 @@ +{ + "name": "CY25SU11", + "dataColors": [ + "#118DFF", + "#12239E", + "#E66C37", + "#6B007B", + "#E044A7", + "#744EC2", + "#D9B300", + "#D64550", + "#197278", + "#1AAB40", + "#15C6F4", + "#4092FF", + "#FFA058", + "#BE5DC9", + "#F472D0", + "#B5A1FF", + "#C4A200", + "#FF8080", + "#00DBBC", + "#5BD667", + "#0091D5", + "#4668C5", + "#FF6300", + "#99008A", + "#EC008C", + "#533285", + "#99700A", + "#FF4141", + "#1F9A85", + "#25891C", + "#0057A2", + "#002050", + "#C94F0F", + "#450F54", + "#B60064", + "#34124F", + "#6A5A29", + "#1AAB40", + "#BA141A", + "#0C3D37", + "#0B511F" + ], + "foreground": "#252423", + "foregroundNeutralSecondary": "#605E5C", + "foregroundNeutralTertiary": "#B3B0AD", + "background": "#FFFFFF", + "backgroundLight": "#F3F2F1", + "backgroundNeutral": "#C8C6C4", + "tableAccent": "#118DFF", + "good": "#1AAB40", + "neutral": "#D9B300", + "bad": "#D64554", + "maximum": "#118DFF", + "center": "#D9B300", + "minimum": "#DEEFFF", + "null": "#FF7F48", + "hyperlink": "#0078d4", + "visitedHyperlink": "#0078d4", + "textClasses": { + "callout": { + "fontSize": 24, + "fontFace": "DIN", + "color": "#252423" + }, + "title": { + "fontSize": 12, + "fontFace": "DIN", + "color": "#252423" + }, + "header": { + "fontSize": 12, + "fontFace": "Segoe UI Semibold", + "color": "#252423" + }, + "label": { + "fontSize": 10, + "fontFace": "Segoe UI", + "color": "#252423" + } + }, + "visualStyles": { + "*": { + "*": { + "*": [ + { + "wordWrap": true + } + ], + "line": [ + { + "transparency": 0 + } + ], + "outline": [ + { + "transparency": 0 + } + ], + "plotArea": [ + { + "transparency": 0 + } + ], + "categoryAxis": [ + { + "showAxisTitle": true, + "gridlineStyle": "dotted", + "concatenateLabels": false + } + ], + "valueAxis": [ + { + "showAxisTitle": true, + "gridlineStyle": "dotted" + } + ], + "y2Axis": [ + { + "show": true + } + ], + "title": [ + { + "titleWrap": true + } + ], + "lineStyles": [ + { + "strokeWidth": 3 + } + ], + "wordWrap": [ + { + "show": true + } + ], + "background": [ + { + "show": true, + "transparency": 0 + } + ], + "border": [ + { + "width": 1 + } + ], + "outspacePane": [ + { + "backgroundColor": { + "solid": { + "color": "#ffffff" + } + }, + "transparency": 0, + "border": true, + "borderColor": { + "solid": { + "color": "#B3B0AD" + } + } + } + ], + "filterCard": [ + { + "$id": "Applied", + "transparency": 0, + "foregroundColor": { + "solid": { + "color": "#252423" + } + }, + "border": true + }, + { + "$id": "Available", + "transparency": 0, + "foregroundColor": { + "solid": { + "color": "#252423" + } + }, + "border": true + } + ] + } + }, + "scatterChart": { + "*": { + "bubbles": [ + { + "bubbleSize": -10, + "markerRangeType": "auto" + } + ], + "general": [ + { + "responsive": true + } + ], + "fillPoint": [ + { + "show": true + } + ], + "legend": [ + { + "showGradientLegend": true + } + ] + } + }, + "lineChart": { + "*": { + "general": [ + { + "responsive": true + } + ], + "smallMultiplesLayout": [ + { + "backgroundTransparency": 0, + "gridLineType": "inner" + } + ], + "forecast": [ + { + "matchSeriesInterpolation": true + } + ] + } + }, + "map": { + "*": { + "bubbles": [ + { + "bubbleSize": -10, + "markerRangeType": "auto" + } + ] + } + }, + "azureMap": { + "*": { + "bubbleLayer": [ + { + "bubbleRadius": 8, + "minBubbleRadius": 8, + "maxRadius": 40 + } + ], + "barChart": [ + { + "barHeight": 3, + "thickness": 3 + } + ] + } + }, + "pieChart": { + "*": { + "legend": [ + { + "show": true, + "position": "RightCenter" + } + ], + "labels": [ + { + "labelStyle": "Data value, percent of total" + } + ] + } + }, + "donutChart": { + "*": { + "legend": [ + { + "show": true, + "position": "RightCenter" + } + ], + "labels": [ + { + "labelStyle": "Data value, percent of total" + } + ] + } + }, + "tableEx": { + "*": { + "columnHeaders": [ + { + "columnAdjustment": "growToFit" + } + ] + } + }, + "pivotTable": { + "*": { + "rowHeaders": [ + { + "showExpandCollapseButtons": true, + "legacyStyleDisabled": true + } + ] + } + }, + "multiRowCard": { + "*": { + "card": [ + { + "outlineWeight": 2, + "barShow": true, + "barWeight": 2 + } + ] + } + }, + "kpi": { + "*": { + "trendline": [ + { + "transparency": 20 + } + ] + } + }, + "cardVisual": { + "*": { + "layout": [ + { + "maxTiles": 3 + }, + { + "$id": "default", + "cellPadding": 12, + "paddingIndividual": false, + "paddingUniform": 12, + "backgroundShow": true + } + ], + "overflow": [ + { + "type": 0 + } + ], + "image": [ + { + "$id": "default", + "position": "Left", + "imageAreaSize": 20, + "padding": 12, + "rectangleRoundedCurve": 4, + "fit": "Normal", + "fixedSize": false + } + ], + "referenceLabel": [ + { + "$id": "default", + "backgroundColor": { + "solid": { + "color": "backgroundLight" + } + }, + "paddingUniform": 12, + "rectangleRoundedCurveCustomStyle": true, + "rectangleRoundedCurveLeftBottom": 4, + "rectangleRoundedCurveRightBottom": 4 + } + ], + "referenceLabelDetail": [ + { + "$id": "default", + "detailBackgroundColor": { + "solid": { + "color": "foreground" + } + }, + "detailFontColor": { + "solid": { + "color": "background" + } + } + } + ], + "referenceLabelTitle": [ + { + "$id": "default", + "titleFontColor": { + "solid": { + "color": "foregroundNeutralSecondary" + } + } + } + ], + "referenceLabelValue": [ + { + "$id": "default", + "valueFontFamily": "'Segoe UI Semibold', wf_segoe-ui_semibold, helvetica, arial, sans-serif", + "fontColor": { + "solid": { + "color": "foreground" + } + } + } + ], + "value": [ + { + "$id": "default", + "fontFamily": "'Segoe UI Semibold', wf_segoe-ui_semibold, helvetica, arial, sans-serif" + } + ], + "label": [ + { + "$id": "default", + "position": "belowValue", + "fontColor": { + "solid": { + "color": "foregroundNeutralSecondary" + } + } + } + ], + "spacing": [ + { + "$id": "default", + "verticalSpacing": 2 + } + ], + "outline": [ + { + "$id": "default", + "lineColor": { + "solid": { + "color": "backgroundLight" + } + } + } + ], + "divider": [ + { + "$id": "default", + "dividerColor": { + "solid": { + "color": "backgroundLight" + } + } + } + ], + "shapeCustomRectangle": [ + { + "$id": "default", + "tileShape": "rectangleRoundedByPixel", + "rectangleRoundedCurve": 4 + } + ], + "smallMultiplesOuterShape": [ + { + "$id": "default", + "rectangleRoundedCurveCustomStyle": false, + "rectangleRoundedCurve": 4 + } + ], + "smallMultiplesHeader": [ + { + "$id": "default", + "paddingIndividual": false, + "paddingUniform": 12, + "backgroundColor": { + "solid": { + "color": "backgroundLight" + } + } + } + ], + "smallMultiplesLayout": [ + { + "style": "Table", + "cellPadding": 12, + "rowCount": 3, + "orientation": 1, + "titleOrientation": 1, + "headerPosition": "Top" + } + ], + "smallMultiplesGrid": [ + { + "gridlineColor": { + "solid": { + "color": "foregroundNeutralTertiary" + } + } + } + ], + "smallMultiplesBorder": [ + { + "$id": "default", + "gridlineColor": { + "solid": { + "color": "foregroundNeutralTertiary" + } + } + } + ], + "padding": [ + { + "$id": "default", + "paddingUniform": 12, + "paddingIndividual": false + } + ] + } + }, + "advancedSlicerVisual": { + "*": { + "layout": [ + { + "maxTiles": 3 + } + ], + "shapeCustomRectangle": [ + { + "$id": "default", + "tileShape": "rectangleRoundedByPixel", + "rectangleRoundedCurve": 4 + } + ], + "selectionIcon": [ + { + "$id": "default", + "size": 12 + } + ], + "value": [ + { + "$id": "default", + "fontFamily": "'''Segoe UI Semibold'', wf_segoe-ui_semibold, helvetica, arial, sans-serif'" + } + ] + } + }, + "slicer": { + "*": { + "general": [ + { + "responsive": true + } + ], + "date": [ + { + "hideDatePickerButton": false + } + ], + "items": [ + { + "padding": 4, + "accessibilityContrastProperties": true + } + ] + } + }, + "waterfallChart": { + "*": { + "general": [ + { + "responsive": true + } + ] + } + }, + "columnChart": { + "*": { + "general": [ + { + "responsive": true + } + ], + "legend": [ + { + "showGradientLegend": true + } + ], + "smallMultiplesLayout": [ + { + "backgroundTransparency": 0, + "gridLineType": "inner" + } + ] + } + }, + "clusteredColumnChart": { + "*": { + "general": [ + { + "responsive": true + } + ], + "legend": [ + { + "showGradientLegend": true + } + ], + "smallMultiplesLayout": [ + { + "backgroundTransparency": 0, + "gridLineType": "inner" + } + ] + } + }, + "hundredPercentStackedColumnChart": { + "*": { + "general": [ + { + "responsive": true + } + ], + "legend": [ + { + "showGradientLegend": true + } + ], + "smallMultiplesLayout": [ + { + "backgroundTransparency": 0, + "gridLineType": "inner" + } + ] + } + }, + "barChart": { + "*": { + "general": [ + { + "responsive": true + } + ], + "legend": [ + { + "showGradientLegend": true + } + ], + "smallMultiplesLayout": [ + { + "backgroundTransparency": 0, + "gridLineType": "inner" + } + ] + } + }, + "clusteredBarChart": { + "*": { + "general": [ + { + "responsive": true + } + ], + "legend": [ + { + "showGradientLegend": true + } + ], + "smallMultiplesLayout": [ + { + "backgroundTransparency": 0, + "gridLineType": "inner" + } + ] + } + }, + "hundredPercentStackedBarChart": { + "*": { + "general": [ + { + "responsive": true + } + ], + "legend": [ + { + "showGradientLegend": true + } + ], + "smallMultiplesLayout": [ + { + "backgroundTransparency": 0, + "gridLineType": "inner" + } + ] + } + }, + "areaChart": { + "*": { + "general": [ + { + "responsive": true + } + ], + "smallMultiplesLayout": [ + { + "backgroundTransparency": 0, + "gridLineType": "inner" + } + ] + } + }, + "stackedAreaChart": { + "*": { + "general": [ + { + "responsive": true + } + ], + "smallMultiplesLayout": [ + { + "backgroundTransparency": 0, + "gridLineType": "inner" + } + ] + } + }, + "lineClusteredColumnComboChart": { + "*": { + "general": [ + { + "responsive": true + } + ], + "smallMultiplesLayout": [ + { + "backgroundTransparency": 0, + "gridLineType": "inner" + } + ] + } + }, + "lineStackedColumnComboChart": { + "*": { + "general": [ + { + "responsive": true + } + ], + "smallMultiplesLayout": [ + { + "backgroundTransparency": 0, + "gridLineType": "inner" + } + ] + } + }, + "ribbonChart": { + "*": { + "general": [ + { + "responsive": true + } + ], + "smallMultiplesLayout": [ + { + "backgroundTransparency": 0, + "gridLineType": "inner" + } + ], + "valueAxis": [ + { + "show": true + } + ] + } + }, + "hundredPercentStackedAreaChart": { + "*": { + "general": [ + { + "responsive": true + } + ], + "smallMultiplesLayout": [ + { + "backgroundTransparency": 0, + "gridLineType": "inner" + } + ] + } + }, + "group": { + "*": { + "background": [ + { + "show": false + } + ] + } + }, + "basicShape": { + "*": { + "background": [ + { + "show": false + } + ], + "general": [ + { + "keepLayerOrder": true + } + ], + "visualHeader": [ + { + "show": false + } + ] + } + }, + "shape": { + "*": { + "background": [ + { + "show": false + } + ], + "general": [ + { + "keepLayerOrder": true + } + ], + "visualHeader": [ + { + "show": false + } + ] + } + }, + "image": { + "*": { + "background": [ + { + "show": false + } + ], + "general": [ + { + "keepLayerOrder": true + } + ], + "visualHeader": [ + { + "show": false + } + ], + "padding": [ + { + "left": 0, + "top": 0, + "right": 0, + "bottom": 0 + } + ] + } + }, + "actionButton": { + "*": { + "background": [ + { + "show": false + } + ], + "visualHeader": [ + { + "show": false + } + ] + } + }, + "pageNavigator": { + "*": { + "background": [ + { + "show": false + } + ], + "visualHeader": [ + { + "show": false + } + ] + } + }, + "bookmarkNavigator": { + "*": { + "background": [ + { + "show": false + } + ], + "visualHeader": [ + { + "show": false + } + ] + } + }, + "textbox": { + "*": { + "general": [ + { + "keepLayerOrder": true + } + ], + "visualHeader": [ + { + "show": false + } + ] + } + }, + "page": { + "*": { + "outspace": [ + { + "color": { + "solid": { + "color": "#FFFFFF" + } + } + } + ], + "background": [ + { + "transparency": 100 + } + ] + } + } + } +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition.pbir b/demo/chak git power bi.Report/definition.pbir new file mode 100644 index 0000000..ad5a248 --- /dev/null +++ b/demo/chak git power bi.Report/definition.pbir @@ -0,0 +1,9 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definitionProperties/2.0.0/schema.json", + "version": "4.0", + "datasetReference": { + "byPath": { + "path": "../chak git power bi.SemanticModel" + } + } +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/page.json b/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/page.json new file mode 100644 index 0000000..bccc6e4 --- /dev/null +++ b/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/page.json @@ -0,0 +1,49 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/page/2.0.0/schema.json", + "name": "149dd2c34b0b8dd6939e", + "displayName": "Page 1", + "displayOption": "FitToPage", + "height": 720, + "width": 1280, + "filterConfig": { + "filters": [ + { + "name": "6d0923e0ed6505507668", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Profit " + } + }, + "type": "Categorical", + "howCreated": "Drillthrough" + } + ] + }, + "pageBinding": { + "name": "d6483d4409d61de745e3", + "type": "Drillthrough", + "parameters": [ + { + "name": "20fd997dea029b44a6d1", + "boundFilter": "6d0923e0ed6505507668", + "asAggregation": true, + "qnaSingleSelectRequired": false, + "fieldExpr": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Profit " + } + } + } + ] + } +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/visuals/0e2d458eddbd51d5a62d/visual.json b/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/visuals/0e2d458eddbd51d5a62d/visual.json new file mode 100644 index 0000000..9881d5f --- /dev/null +++ b/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/visuals/0e2d458eddbd51d5a62d/visual.json @@ -0,0 +1,56 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.4.0/schema.json", + "name": "0e2d458eddbd51d5a62d", + "position": { + "x": 0, + "y": 0, + "z": 3, + "height": 40, + "width": 100 + }, + "visual": { + "visualType": "actionButton", + "objects": { + "icon": [ + { + "properties": { + "shapeType": { + "expr": { + "Literal": { + "Value": "'back'" + } + } + } + }, + "selector": { + "id": "default" + } + } + ] + }, + "visualContainerObjects": { + "visualLink": [ + { + "properties": { + "show": { + "expr": { + "Literal": { + "Value": "true" + } + } + }, + "type": { + "expr": { + "Literal": { + "Value": "'Back'" + } + } + } + } + } + ] + }, + "drillFilterOtherVisuals": true + }, + "howCreated": "InsertVisualButton" +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/visuals/19bde3dec79b0b78c7e9/visual.json b/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/visuals/19bde3dec79b0b78c7e9/visual.json new file mode 100644 index 0000000..922843a --- /dev/null +++ b/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/visuals/19bde3dec79b0b78c7e9/visual.json @@ -0,0 +1,215 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.4.0/schema.json", + "name": "19bde3dec79b0b78c7e9", + "position": { + "x": 21.837270341207347, + "y": 359.47506561679791, + "z": 0, + "height": 361.15485564304458, + "width": 1244.724409448819 + }, + "visual": { + "visualType": "tableEx", + "query": { + "queryState": { + "Values": { + "projections": [ + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Product" + } + }, + "queryRef": "demo_sales_data csv.Product", + "nativeQueryRef": "Product" + }, + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Region" + } + }, + "queryRef": "demo_sales_data csv.Region", + "nativeQueryRef": "Region" + }, + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Category" + } + }, + "queryRef": "demo_sales_data csv.Category", + "nativeQueryRef": "Category" + }, + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Date" + } + }, + "queryRef": "demo_sales_data csv.Date", + "nativeQueryRef": "Date" + }, + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Profit " + } + }, + "Function": 0 + } + }, + "queryRef": "Sum(demo_sales_data csv. Profit )", + "nativeQueryRef": "Sum of Profit " + }, + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Sales " + } + }, + "Function": 0 + } + }, + "queryRef": "Sum(demo_sales_data csv. Sales )", + "nativeQueryRef": "Sum of Sales " + } + ] + } + } + }, + "drillFilterOtherVisuals": true + }, + "filterConfig": { + "filters": [ + { + "name": "f5688778b794bd85d551", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Product" + } + }, + "type": "Categorical" + }, + { + "name": "d3dd8a8758b7e7e096c2", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Date" + } + }, + "type": "Categorical" + }, + { + "name": "fef8a922dcdd148e005a", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Region" + } + }, + "type": "Categorical" + }, + { + "name": "636c070a097c4d7cc85b", + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Sales " + } + }, + "Function": 0 + } + }, + "type": "Advanced" + }, + { + "name": "7bf56f7e828484c4486d", + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Profit " + } + }, + "Function": 0 + } + }, + "type": "Advanced" + }, + { + "name": "3c36d54f0570433cc442", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Category" + } + }, + "type": "Categorical" + } + ] + } +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/visuals/b79e27be998d33840086/visual.json b/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/visuals/b79e27be998d33840086/visual.json new file mode 100644 index 0000000..1470c0c --- /dev/null +++ b/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/visuals/b79e27be998d33840086/visual.json @@ -0,0 +1,121 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.4.0/schema.json", + "name": "b79e27be998d33840086", + "position": { + "x": 21.837270341207347, + "y": 40.314960629921259, + "z": 2, + "height": 299.002624671916, + "width": 418.26771653543307 + }, + "visual": { + "visualType": "clusteredColumnChart", + "query": { + "queryState": { + "Category": { + "projections": [ + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Product" + } + }, + "queryRef": "demo_sales_data csv.Product", + "nativeQueryRef": "Product", + "active": true + } + ] + }, + "Y": { + "projections": [ + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Sales " + } + }, + "Function": 0 + } + }, + "queryRef": "Sum(demo_sales_data csv. Sales )", + "nativeQueryRef": "Sum of Sales " + } + ] + } + }, + "sortDefinition": { + "sort": [ + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Sales " + } + }, + "Function": 0 + } + }, + "direction": "Descending" + } + ], + "isDefaultSort": true + } + }, + "drillFilterOtherVisuals": true + }, + "filterConfig": { + "filters": [ + { + "name": "1c542e72db6de294a74c", + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Sales " + } + }, + "Function": 0 + } + }, + "type": "Advanced" + }, + { + "name": "fe5b308dc3246611390c", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Product" + } + }, + "type": "Categorical" + } + ] + } +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/visuals/c7da8f322c65e6a67dcc/visual.json b/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/visuals/c7da8f322c65e6a67dcc/visual.json new file mode 100644 index 0000000..07b5f44 --- /dev/null +++ b/demo/chak git power bi.Report/definition/pages/149dd2c34b0b8dd6939e/visuals/c7da8f322c65e6a67dcc/visual.json @@ -0,0 +1,121 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.4.0/schema.json", + "name": "c7da8f322c65e6a67dcc", + "position": { + "x": 579.5275590551181, + "y": 40.314960629921259, + "z": 1, + "height": 299.002624671916, + "width": 418.26771653543307 + }, + "visual": { + "visualType": "donutChart", + "query": { + "queryState": { + "Category": { + "projections": [ + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Region" + } + }, + "queryRef": "demo_sales_data csv.Region", + "nativeQueryRef": "Region", + "active": true + } + ] + }, + "Y": { + "projections": [ + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Product" + } + }, + "Function": 5 + } + }, + "queryRef": "CountNonNull(demo_sales_data csv.Product)", + "nativeQueryRef": "Count of Product" + } + ] + } + }, + "sortDefinition": { + "sort": [ + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Product" + } + }, + "Function": 5 + } + }, + "direction": "Descending" + } + ], + "isDefaultSort": true + } + }, + "drillFilterOtherVisuals": true + }, + "filterConfig": { + "filters": [ + { + "name": "36b365cd03571509e263", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Region" + } + }, + "type": "Categorical" + }, + { + "name": "acb76392b728632de232", + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Product" + } + }, + "Function": 5 + } + }, + "type": "Advanced" + } + ] + } +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition/pages/8945a53460d8e68660ab/page.json b/demo/chak git power bi.Report/definition/pages/8945a53460d8e68660ab/page.json new file mode 100644 index 0000000..708b457 --- /dev/null +++ b/demo/chak git power bi.Report/definition/pages/8945a53460d8e68660ab/page.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/page/2.0.0/schema.json", + "name": "8945a53460d8e68660ab", + "displayName": "Page 3", + "displayOption": "FitToPage", + "height": 720, + "width": 1280 +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/page.json b/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/page.json new file mode 100644 index 0000000..8cd2b7e --- /dev/null +++ b/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/page.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/page/2.0.0/schema.json", + "name": "b3bc1bb1062dcbcde9a0", + "displayName": "Page 2", + "displayOption": "FitToPage", + "height": 720, + "width": 1280 +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/visuals/2a2e7ee08bb7510ecac7/visual.json b/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/visuals/2a2e7ee08bb7510ecac7/visual.json new file mode 100644 index 0000000..737e8a5 --- /dev/null +++ b/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/visuals/2a2e7ee08bb7510ecac7/visual.json @@ -0,0 +1,71 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.4.0/schema.json", + "name": "2a2e7ee08bb7510ecac7", + "position": { + "x": 955.80052493438313, + "y": 15.118110236220472, + "z": 3, + "height": 87.349081364829388, + "width": 324.19947506561681 + }, + "visual": { + "visualType": "slicer", + "query": { + "queryState": { + "Values": { + "projections": [ + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Region" + } + }, + "queryRef": "demo_sales_data csv.Region", + "nativeQueryRef": "Region", + "active": true + } + ] + } + } + }, + "objects": { + "data": [ + { + "properties": { + "mode": { + "expr": { + "Literal": { + "Value": "'Dropdown'" + } + } + } + } + } + ] + }, + "drillFilterOtherVisuals": true + }, + "filterConfig": { + "filters": [ + { + "name": "c6f77ca5085e0b635d28", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Region" + } + }, + "type": "Categorical" + } + ] + } +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/visuals/3617b4812848b09d4707/visual.json b/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/visuals/3617b4812848b09d4707/visual.json new file mode 100644 index 0000000..1026890 --- /dev/null +++ b/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/visuals/3617b4812848b09d4707/visual.json @@ -0,0 +1,89 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.4.0/schema.json", + "name": "3617b4812848b09d4707", + "position": { + "x": 90.70866141732283, + "y": 15.118110236220472, + "z": 2, + "height": 173.01837270341207, + "width": 339.31758530183725, + "tabOrder": 1 + }, + "visual": { + "visualType": "cardVisual", + "query": { + "queryState": { + "Data": { + "projections": [ + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Profit " + } + }, + "Function": 0 + } + }, + "queryRef": "Sum(demo_sales_data csv. Profit )", + "nativeQueryRef": "Sum of Profit " + } + ] + } + }, + "sortDefinition": { + "sort": [ + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Profit " + } + }, + "Function": 0 + } + }, + "direction": "Descending" + } + ], + "isDefaultSort": true + } + }, + "drillFilterOtherVisuals": true + }, + "filterConfig": { + "filters": [ + { + "name": "d634e4757c936bc6c5cb", + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Profit " + } + }, + "Function": 0 + } + }, + "type": "Advanced" + } + ] + } +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/visuals/61f447bc6c0065cec047/visual.json b/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/visuals/61f447bc6c0065cec047/visual.json new file mode 100644 index 0000000..4c609fa --- /dev/null +++ b/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/visuals/61f447bc6c0065cec047/visual.json @@ -0,0 +1,126 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.4.0/schema.json", + "name": "61f447bc6c0065cec047", + "position": { + "x": 13.438320209973753, + "y": 241.88976377952756, + "z": 0, + "height": 300.68241469816275, + "width": 299.002624671916 + }, + "visual": { + "visualType": "clusteredColumnChart", + "query": { + "queryState": { + "Y": { + "projections": [ + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Sales " + } + }, + "Function": 0 + } + }, + "queryRef": "Sum(demo_sales_data csv. Sales )", + "nativeQueryRef": "Sum of Sales " + }, + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Profit " + } + }, + "Function": 0 + } + }, + "queryRef": "Sum(demo_sales_data csv. Profit )", + "nativeQueryRef": "Sum of Profit " + } + ] + } + }, + "sortDefinition": { + "sort": [ + { + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Sales " + } + }, + "Function": 0 + } + }, + "direction": "Descending" + } + ], + "isDefaultSort": true + } + }, + "drillFilterOtherVisuals": true + }, + "filterConfig": { + "filters": [ + { + "name": "b452a2bb67b6d3718d0c", + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Sales " + } + }, + "Function": 0 + } + }, + "type": "Advanced" + }, + { + "name": "00b2eb55594a30aaca3d", + "field": { + "Aggregation": { + "Expression": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": " Profit " + } + }, + "Function": 0 + } + }, + "type": "Advanced" + } + ] + } +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/visuals/f5027c111cd0a8c52526/visual.json b/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/visuals/f5027c111cd0a8c52526/visual.json new file mode 100644 index 0000000..73a38de --- /dev/null +++ b/demo/chak git power bi.Report/definition/pages/b3bc1bb1062dcbcde9a0/visuals/f5027c111cd0a8c52526/visual.json @@ -0,0 +1,83 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.4.0/schema.json", + "name": "f5027c111cd0a8c52526", + "position": { + "x": 463.62204724409446, + "y": 260.36745406824144, + "z": 1, + "height": 320.83989501312334, + "width": 386.35170603674538 + }, + "visual": { + "visualType": "tableEx", + "query": { + "queryState": { + "Values": { + "projections": [ + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Date" + } + }, + "queryRef": "demo_sales_data csv.Date", + "nativeQueryRef": "Date" + }, + { + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Product" + } + }, + "queryRef": "demo_sales_data csv.Product", + "nativeQueryRef": "Product" + } + ] + } + } + }, + "drillFilterOtherVisuals": true + }, + "filterConfig": { + "filters": [ + { + "name": "82ff653fe24275540ec6", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Date" + } + }, + "type": "Categorical" + }, + { + "name": "5c1acf179e8ec0c75ed0", + "field": { + "Column": { + "Expression": { + "SourceRef": { + "Entity": "demo_sales_data csv" + } + }, + "Property": "Product" + } + }, + "type": "Categorical" + } + ] + } +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition/pages/pages.json b/demo/chak git power bi.Report/definition/pages/pages.json new file mode 100644 index 0000000..588ce39 --- /dev/null +++ b/demo/chak git power bi.Report/definition/pages/pages.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/pagesMetadata/1.0.0/schema.json", + "pageOrder": [ + "149dd2c34b0b8dd6939e", + "b3bc1bb1062dcbcde9a0", + "8945a53460d8e68660ab" + ], + "activePageName": "b3bc1bb1062dcbcde9a0" +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition/report.json b/demo/chak git power bi.Report/definition/report.json new file mode 100644 index 0000000..312cfd9 --- /dev/null +++ b/demo/chak git power bi.Report/definition/report.json @@ -0,0 +1,50 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/report/3.0.0/schema.json", + "themeCollection": { + "baseTheme": { + "name": "CY25SU11", + "reportVersionAtImport": { + "visual": "2.4.0", + "report": "3.0.0", + "page": "2.3.0" + }, + "type": "SharedResources" + } + }, + "objects": { + "section": [ + { + "properties": { + "verticalAlignment": { + "expr": { + "Literal": { + "Value": "'Top'" + } + } + } + } + } + ] + }, + "resourcePackages": [ + { + "name": "SharedResources", + "type": "SharedResources", + "items": [ + { + "name": "CY25SU11", + "path": "BaseThemes/CY25SU11.json", + "type": "BaseTheme" + } + ] + } + ], + "settings": { + "useStylableVisualContainerHeader": true, + "exportDataMode": "AllowSummarized", + "defaultDrillFilterOtherVisuals": true, + "allowChangeFilterTypes": true, + "useEnhancedTooltips": true, + "useDefaultAggregateDisplayName": true + } +} \ No newline at end of file diff --git a/demo/chak git power bi.Report/definition/version.json b/demo/chak git power bi.Report/definition/version.json new file mode 100644 index 0000000..c8b385e --- /dev/null +++ b/demo/chak git power bi.Report/definition/version.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/versionMetadata/1.0.0/schema.json", + "version": "2.0.0" +} \ No newline at end of file diff --git a/demo/chak git power bi.SemanticModel/.pbi/editorSettings.json b/demo/chak git power bi.SemanticModel/.pbi/editorSettings.json new file mode 100644 index 0000000..ec5680b --- /dev/null +++ b/demo/chak git power bi.SemanticModel/.pbi/editorSettings.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/semanticModel/editorSettings/1.0.0/schema.json", + "autodetectRelationships": true, + "parallelQueryLoading": true, + "typeDetectionEnabled": true, + "relationshipImportEnabled": true, + "shouldNotifyUserOfNameConflictResolution": true +} \ No newline at end of file diff --git a/demo/chak git power bi.SemanticModel/.platform b/demo/chak git power bi.SemanticModel/.platform new file mode 100644 index 0000000..f5cf1de --- /dev/null +++ b/demo/chak git power bi.SemanticModel/.platform @@ -0,0 +1,11 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/gitIntegration/platformProperties/2.0.0/schema.json", + "metadata": { + "type": "SemanticModel", + "displayName": "chak git power bi" + }, + "config": { + "version": "2.0", + "logicalId": "48b13361-97f4-4f51-a700-86cd99248691" + } +} \ No newline at end of file diff --git a/demo/chak git power bi.SemanticModel/definition.pbism b/demo/chak git power bi.SemanticModel/definition.pbism new file mode 100644 index 0000000..7fc208d --- /dev/null +++ b/demo/chak git power bi.SemanticModel/definition.pbism @@ -0,0 +1,5 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/semanticModel/definitionProperties/1.0.0/schema.json", + "version": "4.2", + "settings": {} +} \ No newline at end of file diff --git a/demo/chak git power bi.SemanticModel/definition/cultures/en-US.tmdl b/demo/chak git power bi.SemanticModel/definition/cultures/en-US.tmdl new file mode 100644 index 0000000..b67c690 --- /dev/null +++ b/demo/chak git power bi.SemanticModel/definition/cultures/en-US.tmdl @@ -0,0 +1,9 @@ +cultureInfo en-US + + linguisticMetadata = + { + "Version": "1.0.0", + "Language": "en-US" + } + contentType: json + diff --git a/demo/chak git power bi.SemanticModel/definition/database.tmdl b/demo/chak git power bi.SemanticModel/definition/database.tmdl new file mode 100644 index 0000000..e041daa --- /dev/null +++ b/demo/chak git power bi.SemanticModel/definition/database.tmdl @@ -0,0 +1,3 @@ +database + compatibilityLevel: 1550 + diff --git a/demo/chak git power bi.SemanticModel/definition/model.tmdl b/demo/chak git power bi.SemanticModel/definition/model.tmdl new file mode 100644 index 0000000..683eb2b --- /dev/null +++ b/demo/chak git power bi.SemanticModel/definition/model.tmdl @@ -0,0 +1,19 @@ +model Model + culture: en-US + defaultPowerBIDataSourceVersion: powerBI_V3 + sourceQueryCulture: en-US + dataAccessOptions + legacyRedirects + returnErrorValuesAsNull + +annotation __PBI_TimeIntelligenceEnabled = 0 + +annotation PBI_ProTooling = ["DevMode"] + +annotation PBI_QueryOrder = ["mes_rows","demo_sales_data csv"] + +ref table mes_rows +ref table 'demo_sales_data csv' + +ref cultureInfo en-US + diff --git a/demo/chak git power bi.SemanticModel/definition/tables/demo_sales_data csv.tmdl b/demo/chak git power bi.SemanticModel/definition/tables/demo_sales_data csv.tmdl new file mode 100644 index 0000000..774b640 --- /dev/null +++ b/demo/chak git power bi.SemanticModel/definition/tables/demo_sales_data csv.tmdl @@ -0,0 +1,72 @@ +table 'demo_sales_data csv' + lineageTag: 05e26051-bae3-4d3a-8c0b-9980b5219c60 + + column Date + dataType: dateTime + formatString: Long Date + lineageTag: ae3b6b54-f611-42a9-b771-8f0b27547b3b + summarizeBy: none + sourceColumn: Date + + annotation SummarizationSetBy = Automatic + + annotation UnderlyingDateTimeDataType = Date + + column Product + dataType: string + lineageTag: 6ff38c94-a240-49ce-8fdd-db400a0a9dda + summarizeBy: none + sourceColumn: Product + + annotation SummarizationSetBy = Automatic + + column Category + dataType: string + lineageTag: 50aaf60b-0a48-41c3-bdb4-c398535a3211 + summarizeBy: none + sourceColumn: Category + + annotation SummarizationSetBy = Automatic + + column Region + dataType: string + lineageTag: 3f96586f-b5ea-4897-a60a-82de8558639a + summarizeBy: none + sourceColumn: Region + + annotation SummarizationSetBy = Automatic + + column ' Sales ' + dataType: decimal + formatString: \$#,0.###############;(\$#,0.###############);\$#,0.############### + lineageTag: 023f94ea-d52c-47d9-b3c5-ee1e7c2bc0eb + summarizeBy: sum + sourceColumn: " Sales " + + annotation SummarizationSetBy = Automatic + + annotation PBI_FormatHint = {"currencyCulture":"en-US"} + + column ' Profit ' + dataType: decimal + formatString: \$#,0.###############;(\$#,0.###############);\$#,0.############### + lineageTag: ff0650fb-1e87-4fe2-9477-a698a04ab480 + summarizeBy: sum + sourceColumn: " Profit " + + annotation SummarizationSetBy = Automatic + + annotation PBI_FormatHint = {"currencyCulture":"en-US"} + + partition 'demo_sales_data csv' = m + mode: import + source = + let + Source = Csv.Document(File.Contents("C:\Users\morad\Downloads\demo_sales_data csv.csv"),[Delimiter=",", Columns=6, Encoding=1252, QuoteStyle=QuoteStyle.None]), + #"Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars=true]), + #"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Date", type date}, {"Product", type text}, {"Category", type text}, {"Region", type text}, {" Sales ", Currency.Type}, {" Profit ", Currency.Type}}) + in + #"Changed Type" + + annotation PBI_ResultType = Table + diff --git a/demo/chak git power bi.SemanticModel/definition/tables/mes_rows.tmdl b/demo/chak git power bi.SemanticModel/definition/tables/mes_rows.tmdl new file mode 100644 index 0000000..cabef66 --- /dev/null +++ b/demo/chak git power bi.SemanticModel/definition/tables/mes_rows.tmdl @@ -0,0 +1,49 @@ +table mes_rows + lineageTag: a2d5d6d9-d6dc-4fd5-a3a3-dd72563720c2 + + column teacher_id + dataType: int64 + formatString: 0 + lineageTag: 2dd03c8f-bfa9-4dc8-8183-6f9154794c1d + summarizeBy: sum + sourceColumn: teacher_id + + annotation SummarizationSetBy = Automatic + + column teacher_name + dataType: string + lineageTag: b8bfe05f-b850-44fd-895b-958d1d7f6e56 + summarizeBy: none + sourceColumn: teacher_name + + annotation SummarizationSetBy = Automatic + + column subject + dataType: string + lineageTag: 7212ef9a-b81d-4002-80e7-38568085d4d7 + summarizeBy: none + sourceColumn: subject + + annotation SummarizationSetBy = Automatic + + column hire_date + dataType: dateTime + formatString: General Date + lineageTag: 539bebaf-3297-4077-957c-e7e2ac3d981c + summarizeBy: none + sourceColumn: hire_date + + annotation SummarizationSetBy = Automatic + + partition mes_rows = m + mode: import + source = + let + Source = Csv.Document(File.Contents("C:\Users\morad\Downloads\mes_rows.csv"),[Delimiter=",", Columns=4, Encoding=1252, QuoteStyle=QuoteStyle.None]), + #"Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars=true]), + #"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"teacher_id", Int64.Type}, {"teacher_name", type text}, {"subject", type text}, {"hire_date", type datetime}}) + in + #"Changed Type" + + annotation PBI_ResultType = Table + diff --git a/demo/chak git power bi.pbip b/demo/chak git power bi.pbip new file mode 100644 index 0000000..a9d2803 --- /dev/null +++ b/demo/chak git power bi.pbip @@ -0,0 +1,14 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/fabric/pbip/pbipProperties/1.0.0/schema.json", + "version": "1.0", + "artifacts": [ + { + "report": { + "path": "chak git power bi.Report" + } + } + ], + "settings": { + "enableAutoRecovery": true + } +} \ No newline at end of file diff --git a/demo/data_nai b/demo/data_nai new file mode 100644 index 0000000..e69de29