pbiplint 0.1.2 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/NOTICE +27 -0
  2. package/README.md +35 -10
  3. package/dist/pbiplint.mjs +13680 -2838
  4. package/package.json +5 -3
  5. package/sample/Messy Sales Demo.Report/.platform +11 -0
  6. package/sample/Messy Sales Demo.Report/definition/bookmarks/bookmarks.json +8 -0
  7. package/sample/Messy Sales Demo.Report/definition/bookmarks/f56cd9f5f68d30c0e4e3.bookmark.json +41 -0
  8. package/sample/Messy Sales Demo.Report/definition/pages/00e055aa522743f28a39/page.json +8 -0
  9. package/sample/Messy Sales Demo.Report/definition/pages/00e055aa522743f28a39/visuals/3130cf9463309528054d/visual.json +185 -0
  10. package/sample/Messy Sales Demo.Report/definition/pages/00e055aa522743f28a39/visuals/3e7724efa859ff7b9701/visual.json +130 -0
  11. package/sample/Messy Sales Demo.Report/definition/pages/00e055aa522743f28a39/visuals/3fe8e6907656325b8e86/visual.json +187 -0
  12. package/sample/Messy Sales Demo.Report/definition/pages/00e055aa522743f28a39/visuals/51bb4f6f5f7f71ed0a3c/visual.json +69 -0
  13. package/sample/Messy Sales Demo.Report/definition/pages/00e055aa522743f28a39/visuals/d2995ea3e9b9d9244bf6/visual.json +31 -0
  14. package/sample/Messy Sales Demo.Report/definition/pages/00e055aa522743f28a39/visuals/d307b6575ca81d163aac/visual.json +186 -0
  15. package/sample/Messy Sales Demo.Report/definition/pages/27f668864829019f9251/page.json +8 -0
  16. package/sample/Messy Sales Demo.Report/definition/pages/27f668864829019f9251/visuals/1e7f28bf49e435b68c50/visual.json +156 -0
  17. package/sample/Messy Sales Demo.Report/definition/pages/3485dcffc49d1608c370/page.json +8 -0
  18. package/sample/Messy Sales Demo.Report/definition/pages/3485dcffc49d1608c370/visuals/6c96585893b6f603b9ac/visual.json +185 -0
  19. package/sample/Messy Sales Demo.Report/definition/pages/3485dcffc49d1608c370/visuals/6e99982d842b0d962e16/visual.json +189 -0
  20. package/sample/Messy Sales Demo.Report/definition/pages/3485dcffc49d1608c370/visuals/8081f5bb7075e7b008bc/visual.json +185 -0
  21. package/sample/Messy Sales Demo.Report/definition/pages/3485dcffc49d1608c370/visuals/c5147d97ff0b18a24336/visual.json +185 -0
  22. package/sample/Messy Sales Demo.Report/definition/pages/3b33a1ae720bb93d48b9/page.json +48 -0
  23. package/sample/Messy Sales Demo.Report/definition/pages/3b33a1ae720bb93d48b9/visuals/e32acaa3eb3e6dd81dca/visual.json +195 -0
  24. package/sample/Messy Sales Demo.Report/definition/pages/3cea48e58036b1654474/page.json +8 -0
  25. package/sample/Messy Sales Demo.Report/definition/pages/3cea48e58036b1654474/visuals/23f7a6962538ec0c0ff4/visual.json +155 -0
  26. package/sample/Messy Sales Demo.Report/definition/pages/3cea48e58036b1654474/visuals/2b5386e9de3e1fbb1afa/visual.json +147 -0
  27. package/sample/Messy Sales Demo.Report/definition/pages/3cea48e58036b1654474/visuals/307e834045a168e7a394/visual.json +305 -0
  28. package/sample/Messy Sales Demo.Report/definition/pages/3cea48e58036b1654474/visuals/4457e97e02f61c8f609b/visual.json +176 -0
  29. package/sample/Messy Sales Demo.Report/definition/pages/3cea48e58036b1654474/visuals/49158e1e7dce5e8d37fd/visual.json +68 -0
  30. package/sample/Messy Sales Demo.Report/definition/pages/3cea48e58036b1654474/visuals/6500e9c3f9d74f2958c7/visual.json +312 -0
  31. package/sample/Messy Sales Demo.Report/definition/pages/3cea48e58036b1654474/visuals/6edcdc464f4016c0264c/visual.json +185 -0
  32. package/sample/Messy Sales Demo.Report/definition/pages/3cea48e58036b1654474/visuals/88530bc0f64114317e2e/visual.json +155 -0
  33. package/sample/Messy Sales Demo.Report/definition/pages/3cea48e58036b1654474/visuals/a75a96eee1fd0cf4cef7/visual.json +185 -0
  34. package/sample/Messy Sales Demo.Report/definition/pages/3cea48e58036b1654474/visuals/bda61916a7b1efdee3fe/visual.json +145 -0
  35. package/sample/Messy Sales Demo.Report/definition/pages/3cea48e58036b1654474/visuals/d93ac3d110ff0a347497/visual.json +185 -0
  36. package/sample/Messy Sales Demo.Report/definition/pages/3cea48e58036b1654474/visuals/db47426e580241dac6b8/visual.json +104 -0
  37. package/sample/Messy Sales Demo.Report/definition/pages/52db6f0b218c638f8761/page.json +8 -0
  38. package/sample/Messy Sales Demo.Report/definition/pages/52db6f0b218c638f8761/visuals/8edac00805f721edc1c1/visual.json +196 -0
  39. package/sample/Messy Sales Demo.Report/definition/pages/5fbcb07dde4e4fada3f6/page.json +8 -0
  40. package/sample/Messy Sales Demo.Report/definition/pages/5fbcb07dde4e4fada3f6/visuals/598cfda00746e83f4896/visual.json +162 -0
  41. package/sample/Messy Sales Demo.Report/definition/pages/5fbcb07dde4e4fada3f6/visuals/6c71af13bcdb4c28cce8/visual.json +133 -0
  42. package/sample/Messy Sales Demo.Report/definition/pages/5fbcb07dde4e4fada3f6/visuals/8aa02d4e168b39268df4/visual.json +185 -0
  43. package/sample/Messy Sales Demo.Report/definition/pages/5fbcb07dde4e4fada3f6/visuals/ab6166569dd355894dc2/visual.json +192 -0
  44. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/page.json +8 -0
  45. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/05d453611bc204914797/visual.json +291 -0
  46. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/0dcfd84094ee2cfe485b/visual.json +185 -0
  47. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/11146719bd576271e11a/visual.json +238 -0
  48. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/338338c16a0d509bdaf5/visual.json +238 -0
  49. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/3ee96306fb282e5dfe38/visual.json +185 -0
  50. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/404c49f853ea8dde3b6c/visual.json +238 -0
  51. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/55ddee811456e2b049cf/visual.json +291 -0
  52. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/5bf9a67d54ba75bb7be1/visual.json +185 -0
  53. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/63f71d3b642fb6c8a9ba/visual.json +291 -0
  54. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/80873270a475b81ef0fb/visual.json +185 -0
  55. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/838ab6226a66fdfb13dc/visual.json +238 -0
  56. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/9b12811305cdd50a97c4/visual.json +185 -0
  57. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/a1a8f953ebef2d733956/visual.json +291 -0
  58. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/b7e7f7c15ff9284e72d3/visual.json +291 -0
  59. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/b9229ce2b277de70e402/visual.json +185 -0
  60. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/cf88d237300a7d6a6709/visual.json +185 -0
  61. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/d66ccf48cfa017d01124/visual.json +185 -0
  62. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/d8ab941db2b7bd34c19e/visual.json +238 -0
  63. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/daadba18a786c3e25d97/visual.json +185 -0
  64. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/e1552553ac4f0856010e/visual.json +185 -0
  65. package/sample/Messy Sales Demo.Report/definition/pages/9f2ae77d3572304756ae/visuals/f108285d5ebc6bcdba77/visual.json +185 -0
  66. package/sample/Messy Sales Demo.Report/definition/pages/b52832c4d9f487868953/page.json +9 -0
  67. package/sample/Messy Sales Demo.Report/definition/pages/b52832c4d9f487868953/visuals/2a7e16428070011e60ec/visual.json +55 -0
  68. package/sample/Messy Sales Demo.Report/definition/pages/bb1ea3ba2a1defa1979b/page.json +8 -0
  69. package/sample/Messy Sales Demo.Report/definition/pages/bb1ea3ba2a1defa1979b/visuals/3fa0fc35d2dd20b9b1f2/visual.json +186 -0
  70. package/sample/Messy Sales Demo.Report/definition/pages/bb1ea3ba2a1defa1979b/visuals/55b04f4555a4615ecd32/visual.json +185 -0
  71. package/sample/Messy Sales Demo.Report/definition/pages/bb1ea3ba2a1defa1979b/visuals/94c00b0b84a51b0e0b39/visual.json +140 -0
  72. package/sample/Messy Sales Demo.Report/definition/pages/bb1ea3ba2a1defa1979b/visuals/acc24e8136085a985f3f/visual.json +32 -0
  73. package/sample/Messy Sales Demo.Report/definition/pages/bb1ea3ba2a1defa1979b/visuals/de6a17691cc952e6d7dd/visual.json +120 -0
  74. package/sample/Messy Sales Demo.Report/definition/pages/fa72b934a72314dcf1b1/page.json +8 -0
  75. package/sample/Messy Sales Demo.Report/definition/pages/fa72b934a72314dcf1b1/visuals/27e669b1ee2de2c3ac9d/visual.json +96 -0
  76. package/sample/Messy Sales Demo.Report/definition/pages/fa72b934a72314dcf1b1/visuals/b230f06615cf87ee455f/visual.json +185 -0
  77. package/sample/Messy Sales Demo.Report/definition/pages/pages.json +17 -0
  78. package/sample/Messy Sales Demo.Report/definition/report.json +66 -0
  79. package/sample/Messy Sales Demo.Report/definition/reportExtensions.json +46 -0
  80. package/sample/Messy Sales Demo.Report/definition/version.json +4 -0
  81. package/sample/Messy Sales Demo.Report/definition.pbir +9 -0
  82. package/sample/{.platform → Messy Sales Demo.SemanticModel/.platform } +1 -1
  83. package/sample/Messy Sales Demo.SemanticModel/definition/cultures/en-US.tmdl +32 -0
  84. package/sample/Messy Sales Demo.SemanticModel/definition/database.tmdl +3 -0
  85. package/sample/{definition/model.tmdl → Messy Sales Demo.SemanticModel/definition/model.tmdl } +3 -0
  86. package/sample/{definition/relationships.tmdl → Messy Sales Demo.SemanticModel/definition/relationships.tmdl } +6 -0
  87. package/sample/{definition/tables/Customer.tmdl → Messy Sales Demo.SemanticModel/definition/tables/Customer.tmdl } +5 -0
  88. package/sample/Messy Sales Demo.SemanticModel/definition/tables/DateTableTemplate_96ead6f8-eef3-4336-a020-6641aa278e92.tmdl +118 -0
  89. package/sample/Messy Sales Demo.SemanticModel/definition/tables/Employee Grouping.tmdl +49 -0
  90. package/sample/Messy Sales Demo.SemanticModel/definition/tables/LocalDateTable_b6c07c62-ecbc-4f14-b072-2fb027697b1d.tmdl +116 -0
  91. package/sample/{definition/tables/Sales.tmdl → Messy Sales Demo.SemanticModel/definition/tables/Sales.tmdl } +42 -42
  92. package/sample/{definition/tables/Store.tmdl → Messy Sales Demo.SemanticModel/definition/tables/Store.tmdl } +15 -0
  93. package/sample/Messy Sales Demo.pbip +14 -0
  94. package/sample/pbiplint.config.json +7 -0
  95. package/sample/.pbi/editorSettings.json +0 -8
  96. package/sample/definition/cultures/en-US.tmdl +0 -2
  97. package/sample/definition/database.tmdl +0 -3
  98. /package/sample/{definition → Messy Sales Demo.SemanticModel/definition}/tables/Date.tmdl +0 -0
  99. /package/sample/{definition → Messy Sales Demo.SemanticModel/definition}/tables/Employee.tmdl +0 -0
  100. /package/sample/{definition → Messy Sales Demo.SemanticModel/definition}/tables/Product.tmdl +0 -0
  101. /package/sample/{definition → Messy Sales Demo.SemanticModel/definition}/tables/Promotion.tmdl +0 -0
  102. /package/sample/{definition.pbism → Messy Sales Demo.SemanticModel/definition.pbism} +0 -0
@@ -0,0 +1,189 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.8.0/schema.json",
3
+ "name": "6e99982d842b0d962e16",
4
+ "position": {
5
+ "x": 20,
6
+ "y": 160,
7
+ "z": 4000,
8
+ "height": 900,
9
+ "width": 1240,
10
+ "tabOrder": 4000
11
+ },
12
+ "visual": {
13
+ "visualType": "tableEx",
14
+ "query": {
15
+ "queryState": {
16
+ "Values": {
17
+ "projections": [
18
+ {
19
+ "field": {
20
+ "Column": {
21
+ "Expression": {
22
+ "SourceRef": {
23
+ "Entity": "Sales"
24
+ }
25
+ },
26
+ "Property": "Sale ID"
27
+ }
28
+ },
29
+ "queryRef": "Sales.Sale ID",
30
+ "nativeQueryRef": "Sale ID"
31
+ },
32
+ {
33
+ "field": {
34
+ "Column": {
35
+ "Expression": {
36
+ "SourceRef": {
37
+ "Entity": "Sales"
38
+ }
39
+ },
40
+ "Property": "Sale Date"
41
+ }
42
+ },
43
+ "queryRef": "Sales.Sale Date",
44
+ "nativeQueryRef": "Sale Date"
45
+ },
46
+ {
47
+ "field": {
48
+ "Column": {
49
+ "Expression": {
50
+ "SourceRef": {
51
+ "Entity": "Sales"
52
+ }
53
+ },
54
+ "Property": "Product ID"
55
+ }
56
+ },
57
+ "queryRef": "Sales.Product ID",
58
+ "nativeQueryRef": "Product ID"
59
+ },
60
+ {
61
+ "field": {
62
+ "Column": {
63
+ "Expression": {
64
+ "SourceRef": {
65
+ "Entity": "Sales"
66
+ }
67
+ },
68
+ "Property": "Customer ID"
69
+ }
70
+ },
71
+ "queryRef": "Sales.Customer ID",
72
+ "nativeQueryRef": "Customer ID"
73
+ },
74
+ {
75
+ "field": {
76
+ "Column": {
77
+ "Expression": {
78
+ "SourceRef": {
79
+ "Entity": "Sales"
80
+ }
81
+ },
82
+ "Property": "Quantity"
83
+ }
84
+ },
85
+ "queryRef": "Sales.Quantity",
86
+ "nativeQueryRef": "Quantity"
87
+ },
88
+ {
89
+ "field": {
90
+ "Column": {
91
+ "Expression": {
92
+ "SourceRef": {
93
+ "Entity": "Sales"
94
+ }
95
+ },
96
+ "Property": "Unit Price"
97
+ }
98
+ },
99
+ "queryRef": "Sales.Unit Price",
100
+ "nativeQueryRef": "Unit Price"
101
+ },
102
+ {
103
+ "field": {
104
+ "Column": {
105
+ "Expression": {
106
+ "SourceRef": {
107
+ "Entity": "Sales"
108
+ }
109
+ },
110
+ "Property": "Total Amount"
111
+ }
112
+ },
113
+ "queryRef": "Sales.Total Amount",
114
+ "nativeQueryRef": "Total Amount"
115
+ }
116
+ ]
117
+ }
118
+ },
119
+ "sortDefinition": {
120
+ "sort": [
121
+ {
122
+ "field": {
123
+ "Column": {
124
+ "Expression": {
125
+ "SourceRef": {
126
+ "Entity": "Sales"
127
+ }
128
+ },
129
+ "Property": "Sale ID"
130
+ }
131
+ },
132
+ "direction": "Ascending"
133
+ }
134
+ ]
135
+ }
136
+ },
137
+ "objects": {
138
+ "total": [
139
+ {
140
+ "properties": {
141
+ "totals": {
142
+ "expr": {
143
+ "Literal": {
144
+ "Value": "false"
145
+ }
146
+ }
147
+ }
148
+ }
149
+ }
150
+ ]
151
+ },
152
+ "drillFilterOtherVisuals": true,
153
+ "visualContainerObjects": {
154
+ "title": [
155
+ {
156
+ "properties": {
157
+ "show": {
158
+ "expr": {
159
+ "Literal": {
160
+ "Value": "true"
161
+ }
162
+ }
163
+ },
164
+ "text": {
165
+ "expr": {
166
+ "Literal": {
167
+ "Value": "'Sales detail'"
168
+ }
169
+ }
170
+ }
171
+ }
172
+ }
173
+ ],
174
+ "general": [
175
+ {
176
+ "properties": {
177
+ "altText": {
178
+ "expr": {
179
+ "Literal": {
180
+ "Value": "'Table of individual sales with their date, product, customer, quantity, and amounts'"
181
+ }
182
+ }
183
+ }
184
+ }
185
+ }
186
+ ]
187
+ }
188
+ }
189
+ }
@@ -0,0 +1,185 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.8.0/schema.json",
3
+ "name": "8081f5bb7075e7b008bc",
4
+ "position": {
5
+ "x": 440,
6
+ "y": 20,
7
+ "z": 2000,
8
+ "height": 120,
9
+ "width": 400,
10
+ "tabOrder": 2000
11
+ },
12
+ "visual": {
13
+ "visualType": "cardVisual",
14
+ "query": {
15
+ "queryState": {
16
+ "Data": {
17
+ "projections": [
18
+ {
19
+ "field": {
20
+ "Measure": {
21
+ "Expression": {
22
+ "SourceRef": {
23
+ "Entity": "Sales"
24
+ }
25
+ },
26
+ "Property": "Total Cost"
27
+ }
28
+ },
29
+ "queryRef": "Sales.Total Cost",
30
+ "nativeQueryRef": "Total Cost"
31
+ }
32
+ ]
33
+ }
34
+ },
35
+ "sortDefinition": {
36
+ "sort": [
37
+ {
38
+ "field": {
39
+ "Measure": {
40
+ "Expression": {
41
+ "SourceRef": {
42
+ "Entity": "Sales"
43
+ }
44
+ },
45
+ "Property": "Total Cost"
46
+ }
47
+ },
48
+ "direction": "Descending"
49
+ }
50
+ ],
51
+ "isDefaultSort": true
52
+ }
53
+ },
54
+ "objects": {
55
+ "label": [
56
+ {
57
+ "properties": {
58
+ "show": {
59
+ "expr": {
60
+ "Literal": {
61
+ "Value": "false"
62
+ }
63
+ }
64
+ }
65
+ },
66
+ "selector": {
67
+ "id": "default"
68
+ }
69
+ }
70
+ ],
71
+ "value": [
72
+ {
73
+ "properties": {
74
+ "horizontalAlignment": {
75
+ "expr": {
76
+ "Literal": {
77
+ "Value": "'center'"
78
+ }
79
+ }
80
+ }
81
+ },
82
+ "selector": {
83
+ "id": "default"
84
+ }
85
+ }
86
+ ],
87
+ "layout": [
88
+ {
89
+ "properties": {
90
+ "alignment": {
91
+ "expr": {
92
+ "Literal": {
93
+ "Value": "'top'"
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ ]
100
+ },
101
+ "visualContainerObjects": {
102
+ "title": [
103
+ {
104
+ "properties": {
105
+ "alignment": {
106
+ "expr": {
107
+ "Literal": {
108
+ "Value": "'center'"
109
+ }
110
+ }
111
+ },
112
+ "show": {
113
+ "expr": {
114
+ "Literal": {
115
+ "Value": "true"
116
+ }
117
+ }
118
+ },
119
+ "text": {
120
+ "expr": {
121
+ "Literal": {
122
+ "Value": "'Total Cost'"
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ ],
129
+ "subTitle": [
130
+ {
131
+ "properties": {
132
+ "alignment": {
133
+ "expr": {
134
+ "Literal": {
135
+ "Value": "'center'"
136
+ }
137
+ }
138
+ },
139
+ "show": {
140
+ "expr": {
141
+ "Literal": {
142
+ "Value": "false"
143
+ }
144
+ }
145
+ },
146
+ "text": {
147
+ "expr": {
148
+ "Literal": {
149
+ "Value": "'Total Cost'"
150
+ }
151
+ }
152
+ }
153
+ }
154
+ }
155
+ ],
156
+ "visualHeader": [
157
+ {
158
+ "properties": {
159
+ "show": {
160
+ "expr": {
161
+ "Literal": {
162
+ "Value": "false"
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
168
+ ],
169
+ "general": [
170
+ {
171
+ "properties": {
172
+ "altText": {
173
+ "expr": {
174
+ "Literal": {
175
+ "Value": "'Card showing total cost'"
176
+ }
177
+ }
178
+ }
179
+ }
180
+ }
181
+ ]
182
+ },
183
+ "drillFilterOtherVisuals": true
184
+ }
185
+ }
@@ -0,0 +1,185 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.8.0/schema.json",
3
+ "name": "c5147d97ff0b18a24336",
4
+ "position": {
5
+ "x": 860,
6
+ "y": 20,
7
+ "z": 3000,
8
+ "height": 120,
9
+ "width": 400,
10
+ "tabOrder": 1000
11
+ },
12
+ "visual": {
13
+ "visualType": "cardVisual",
14
+ "query": {
15
+ "queryState": {
16
+ "Data": {
17
+ "projections": [
18
+ {
19
+ "field": {
20
+ "Measure": {
21
+ "Expression": {
22
+ "SourceRef": {
23
+ "Entity": "Sales"
24
+ }
25
+ },
26
+ "Property": "Total Margin"
27
+ }
28
+ },
29
+ "queryRef": "Sales.Total Margin",
30
+ "nativeQueryRef": "Total Margin"
31
+ }
32
+ ]
33
+ }
34
+ },
35
+ "sortDefinition": {
36
+ "sort": [
37
+ {
38
+ "field": {
39
+ "Measure": {
40
+ "Expression": {
41
+ "SourceRef": {
42
+ "Entity": "Sales"
43
+ }
44
+ },
45
+ "Property": "Total Margin"
46
+ }
47
+ },
48
+ "direction": "Descending"
49
+ }
50
+ ],
51
+ "isDefaultSort": true
52
+ }
53
+ },
54
+ "objects": {
55
+ "label": [
56
+ {
57
+ "properties": {
58
+ "show": {
59
+ "expr": {
60
+ "Literal": {
61
+ "Value": "false"
62
+ }
63
+ }
64
+ }
65
+ },
66
+ "selector": {
67
+ "id": "default"
68
+ }
69
+ }
70
+ ],
71
+ "value": [
72
+ {
73
+ "properties": {
74
+ "horizontalAlignment": {
75
+ "expr": {
76
+ "Literal": {
77
+ "Value": "'center'"
78
+ }
79
+ }
80
+ }
81
+ },
82
+ "selector": {
83
+ "id": "default"
84
+ }
85
+ }
86
+ ],
87
+ "layout": [
88
+ {
89
+ "properties": {
90
+ "alignment": {
91
+ "expr": {
92
+ "Literal": {
93
+ "Value": "'top'"
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ ]
100
+ },
101
+ "visualContainerObjects": {
102
+ "title": [
103
+ {
104
+ "properties": {
105
+ "alignment": {
106
+ "expr": {
107
+ "Literal": {
108
+ "Value": "'center'"
109
+ }
110
+ }
111
+ },
112
+ "show": {
113
+ "expr": {
114
+ "Literal": {
115
+ "Value": "true"
116
+ }
117
+ }
118
+ },
119
+ "text": {
120
+ "expr": {
121
+ "Literal": {
122
+ "Value": "'Total Margin'"
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ ],
129
+ "subTitle": [
130
+ {
131
+ "properties": {
132
+ "alignment": {
133
+ "expr": {
134
+ "Literal": {
135
+ "Value": "'center'"
136
+ }
137
+ }
138
+ },
139
+ "show": {
140
+ "expr": {
141
+ "Literal": {
142
+ "Value": "false"
143
+ }
144
+ }
145
+ },
146
+ "text": {
147
+ "expr": {
148
+ "Literal": {
149
+ "Value": "'Total Margin'"
150
+ }
151
+ }
152
+ }
153
+ }
154
+ }
155
+ ],
156
+ "visualHeader": [
157
+ {
158
+ "properties": {
159
+ "show": {
160
+ "expr": {
161
+ "Literal": {
162
+ "Value": "false"
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
168
+ ],
169
+ "general": [
170
+ {
171
+ "properties": {
172
+ "altText": {
173
+ "expr": {
174
+ "Literal": {
175
+ "Value": "'Card showing total margin'"
176
+ }
177
+ }
178
+ }
179
+ }
180
+ }
181
+ ]
182
+ },
183
+ "drillFilterOtherVisuals": true
184
+ }
185
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/page/2.1.0/schema.json",
3
+ "name": "3b33a1ae720bb93d48b9",
4
+ "displayName": "Product tooltip",
5
+ "displayOption": "ActualSize",
6
+ "height": 240,
7
+ "width": 320,
8
+ "filterConfig": {
9
+ "filters": [
10
+ {
11
+ "name": "7855933879cf8700074b",
12
+ "field": {
13
+ "Column": {
14
+ "Expression": {
15
+ "SourceRef": {
16
+ "Entity": "Product"
17
+ }
18
+ },
19
+ "Property": "Product Name"
20
+ }
21
+ },
22
+ "type": "Categorical",
23
+ "howCreated": "Drillthrough"
24
+ }
25
+ ]
26
+ },
27
+ "pageBinding": {
28
+ "name": "7a9e0535a2802a9d8d71",
29
+ "type": "Tooltip",
30
+ "parameters": [
31
+ {
32
+ "name": "97a7f7489884f4a74406",
33
+ "boundFilter": "7855933879cf8700074b",
34
+ "fieldExpr": {
35
+ "Column": {
36
+ "Expression": {
37
+ "SourceRef": {
38
+ "Entity": "Product"
39
+ }
40
+ },
41
+ "Property": "Product Name"
42
+ }
43
+ }
44
+ }
45
+ ]
46
+ },
47
+ "type": "Tooltip"
48
+ }