-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdemo.py
72 lines (68 loc) · 1.67 KB
/
demo.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
from pbixray import PBIXRay
from icecream import ic
# PBIX_FILE_PATH = r"data/Excalidraw.pbix"
PBIX_FILE_PATH = r"data/Sales & Returns Sample v201912.pbix"
model = PBIXRay(PBIX_FILE_PATH)
ic(model.tables)
ic(model.metadata)
ic(model.power_query)
ic(model.statistics)
ic(model.dax_tables)
ic(model.dax_measures)
ic(model.size)
ic(model.schema)
ic(model.relationships)
ic(model.get_table("Age"))
PBIX_FILE_PATH = r"data/Adventure Works DW 2020.pbix"
model = PBIXRay(PBIX_FILE_PATH)
ic(model.tables)
ic(model.metadata)
ic(model.power_query)
ic(model.statistics)
ic(model.dax_tables)
ic(model.dax_measures)
ic(model.size)
ic(model.schema)
ic(model.relationships)
ic(model.get_table("Sales Order"))
model = PBIXRay(r"data/Excalidraw.pbix")
ic(model.tables)
ic(model.metadata)
ic(model.power_query)
ic(model.statistics)
ic(model.dax_tables)
ic(model.dax_measures)
ic(model.size)
ic(model.schema)
ic(model.relationships)
ic(model.dax_columns)
ic(model.get_table("Fruit_RLE"))
model = PBIXRay(r"data/2020SU11 Blog Demo - November.pbix")
ic(model.tables)
ic(model.metadata)
ic(model.power_query)
ic(model.statistics)
ic(model.dax_tables)
ic(model.dax_measures)
ic(model.dax_columns)
ic(model.size)
ic(model.schema)
ic(model.relationships)
ic(model.get_table("Reseller"))
model = PBIXRay(r"data/2020SU11 Blog Demo - November.pbix")
ic(model.tables)
ic(model.metadata)
ic(model.m_parameters)
ic(model.statistics)
model = PBIXRay(r"data/old-Supplier-Quality-Analysis-Sample-PBIX.pbix")
ic(model.tables)
ic(model.metadata)
ic(model.m_parameters)
ic(model.statistics)
ic(model.dax_tables)
ic(model.dax_measures)
ic(model.dax_columns)
ic(model.size)
ic(model.schema)
ic(model.relationships)
ic(model.get_table("Vendor"))