Skip to content

Commit

Permalink
Documentation update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nat Van Gulck authored and Nat Van Gulck committed Nov 27, 2023
1 parent 84a3737 commit 29e34b0
Show file tree
Hide file tree
Showing 18 changed files with 2,037 additions and 19 deletions.
86 changes: 86 additions & 0 deletions DocsExamples/Example-ReportPageFieldMap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"pbiEntries": [
{
"name": "reportLayout",
"pbixEntryPath": "Report/Layout",
"pbipEntryPath": "report.json",
"contentType": "json",
"codepage": 1200,
"rules": [
{
"name": "Return visual properties",
"description": "Returns an array of visual names",
"forEachPath": "$.sections[*]",
"forEachPathName": "$.name",
"forEachPathDisplayName": "$.displayName",
"path": "$.visualContainers[*].config",
"pathErrorWhenNoMatch": true,
"test": [
{
"map": [
{
"filter": [
{
"var": "v"
},
{
"and": [
{ "!!": [ { "var": "name" } ] },
{ "!!": [ { "var": "singleVisual.visualType" } ] },
{ ">=": [ { "var": "layouts.0.position.x" }, 0 ] },
{ ">=": [ { "var": "layouts.0.position.y" }, 0 ] },
{ ">=": [ { "var": "layouts.0.position.width" }, 0 ] },
{ ">=": [ { "var": "layouts.0.position.height" }, 0 ] }
]
}
]
},
{
"torecord": [
"name",
{
"var": "name"
},
"visualType",
{
"var": "singleVisual.visualType"
},
"x",
{
"var": "layouts.0.position.x"
},
"y",
{
"var": "layouts.0.position.y"
},
"width",
{
"var": "layouts.0.position.width"
},
"height",
{
"var": "layouts.0.position.height"
},
"visible",
{
"!=": [
{
"var": "singleVisual.display.mode"
},
"hidden"
]
}
]
}
]
},
{
"v": "."
},
[]
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"version": "1.0",
"settings": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"version": "1.1.0",
"diagrams": [
{
"ordinal": 0,
"scrollPosition": {
"x": 0,
"y": 0
},
"nodes": [
{
"location": {
"x": 842,
"y": 5
},
"nodeIndex": "Report",
"size": {
"height": 300,
"width": 234
},
"zIndex": 0
}
],
"name": "All tables",
"zoomValue": 100,
"pinKeyFieldsToTop": false,
"showExtraHeaderInfo": false,
"hideKeyFieldsWhenCollapsed": false,
"tablesLocked": false
}
],
"selectedDiagram": "All tables",
"defaultDiagram": "All tables"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"version": "1.0",
"logicalId": "834ddcf0-262f-4289-a44c-8e2335cd47f3"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "dataset",
"displayName": "PBI Inspector Reporting"
}
Loading

0 comments on commit 29e34b0

Please sign in to comment.