Skip to content

Commit e4a6a8a

Browse files
authored
Merge pull request #30 from xedinseu/master
New update (Logi .cls files fix and readme)
2 parents 82bf643 + f25e865 commit e4a6a8a

28 files changed

+25720
-81
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
*.sh text eol=lf
22
*.cls text eol=lf
3+
analytic_dashboards/** binary
34
*.mac text eol=lf
45
*.int text eol=lf
56
Dockerfil* text eol=lf

README.md

Lines changed: 126 additions & 80 deletions
Large diffs are not rendered by default.
Binary file not shown.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## AtScale
2+
First you need to run two AtScale and IRIS containers “docker-compose up -d atscale”, “docker-compose up -d iris”. The AtSacle container already has a test published cube.
3+
4+
## PowerBI
5+
To view and develop reports on PowerBI, first of all, you need to download PowerBI Desktop on the official Microsoft website https://www.microsoft.com/store/productId/9NTXR16HNW1T
6+
Then, to connect, you need to click Get data -> More -> Database -> AtScale cubes.
7+
8+
![image](https://user-images.githubusercontent.com/47400570/165940147-26abee0c-2030-4b44-9622-d3eced32c081.png)
9+
10+
In the server field, you need to insert an MDX link and select Data Connectivity mode "DirectQuery" and click OK.
11+
12+
![image](https://user-images.githubusercontent.com/47400570/165940185-9c02d280-08ac-4d71-9e20-c9c1277cb43e.png)
13+
14+
An authorization dialog will open in which you need to enter User name and Password (default admin: admin), then click Connect
15+
16+
![image](https://user-images.githubusercontent.com/47400570/165940238-74fc94a2-92a7-434d-bdbe-e161116a9ac8.png)
17+
18+
Then a dialog box will open, where all available cubes in the source will be displayed, select the one you need and click Load.
19+
20+
![image](https://user-images.githubusercontent.com/47400570/165940278-accc4fa7-d521-4972-93fc-b59ba5610fcf.png)
21+
22+
Done. Now you can start developing dashboards. On the left are the fields that can be used to build reports.
23+
24+
![image](https://user-images.githubusercontent.com/47400570/165940410-0c7cdd67-0adf-450c-901c-5b455a8fde1d.png)
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
## AtScale
2+
To develop reports on PowerBI + AtScale, you first need to run the AtScale and IRIS containers “docker-compose up -d atscale”, “docker-compose up -d iris”.
3+
4+
### Creating a cube in AtSacle
5+
Go to http://localhost:10500 is authorized (default admin:admin) in the top navigation menu go to Projects, all created projects will be displayed here. The container already has a GameOfThrones test project.
6+
7+
To create your own cube, you need to click “+ New projects” in Projects and write the name of the project in the window that appears.
8+
9+
![image](https://user-images.githubusercontent.com/47400570/165940835-7ced36e6-5a0e-4ec6-aadb-aab6729035a7.png)
10+
11+
Then you need to go to the created project and press Enter Model.
12+
13+
![image](https://user-images.githubusercontent.com/47400570/165940869-a963617e-160e-429a-9fcd-5082fbc6b4dd.png)
14+
15+
To view detailed documentation, you can go to Support -> Documentation. Here is the official AtScale documentation.
16+
17+
EnCommunityAnalytics2 test cube example:
18+
19+
![image](https://user-images.githubusercontent.com/47400570/165940961-71666008-8186-4ac8-906a-79dda15e3567.png)
20+
21+
Then you need to publish this project by going to Project -> (your project) and clicking Publish.
22+
23+
![image](https://user-images.githubusercontent.com/47400570/165941009-9b5e94d5-e1a3-4bb5-95c2-4547db685bf2.png)
24+
25+
## PowerBI connection
26+
27+
First of all, you need to download PowerBI Desktop on the official Microsoft website https://www.microsoft.com/store/productId/9NTXR16HNW1T
28+
29+
Then, to connect, you need to click Get data -> More -> Database -> AtScale cubes.
30+
31+
![image](https://user-images.githubusercontent.com/47400570/165941132-8ee8c6e4-1fa6-4208-9a83-2f8b0d498110.png)
32+
33+
In the server field, you need to insert an MDX link and select Data Connectivity mode "DirectQuery" and click OK.
34+
35+
![image](https://user-images.githubusercontent.com/47400570/165941252-28f1eaf7-2b9a-44ad-a1ea-962f474a3cd9.png)
36+
37+
An authorization dialog will open in which you need to enter User name and Password (default admin: admin), then click Connect.
38+
39+
![image](https://user-images.githubusercontent.com/47400570/165941281-6fabb96c-9c85-41d5-801b-26461ef04eb8.png)
40+
41+
Then a dialog box will open, where all available cubes in the source will be displayed, select the one you need and click Load.
42+
43+
![image](https://user-images.githubusercontent.com/47400570/165941335-bb47c062-20c5-4ed6-afdc-b3621bcbd447.png)
44+
45+
Done. Now you can start developing dashboards. On the left are the fields that can be used to build reports.
46+
47+
![image](https://user-images.githubusercontent.com/47400570/165941386-7da52024-a193-4c41-aff9-55bf0bf5da74.png)

analytic_dashboards/Tableau/Monthly_EnCommunityAnalytics local.twb

Lines changed: 12161 additions & 0 deletions
Large diffs are not rendered by default.

analytic_dashboards/Tableau/Monthly_EnCommunityAnalytics public demo.twb

Lines changed: 12569 additions & 0 deletions
Large diffs are not rendered by default.

analytic_dashboards/Tableau/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
## To an existing report
2+
If you want to add a data source to an existing report,
3+
select the **Data Source** tab on the tab bar below and click on the Tableau icon in the top left, then follow the steps above.
4+
5+
## Authorization in the
6+
Tableau data source will ask you to enter your username and password from Atscale (admin/admin)
7+
8+
![Authorization](https://github.com/teccod/AtScale-Tableau-DC/blob/main/readme_img/7.png)
9+
10+
After successful authorization your cube will appear in the data sources and you can get started.
11+
12+
![Cube in the report](https://github.com/teccod/AtScale-Tableau-DC/blob/main/readme_img/8.png)
13+
14+
The TDS file is XML, so it won't be too hard to fix this XML in case
15+
you have republished the project under a different name, or made changes to the hostname of the Atscale server.
16+
17+
You can find TDS files here: "analytic_dashboards/Tableau/tds/"
18+
19+
You can also replace the data source by right-clicking on it and selecting *Replace Data Source...*
20+
21+
![Source replacement 1](https://github.com/teccod/AtScale-Tableau-DC/blob/main/readme_img/9.png)
22+
23+
Then you need to select the current and new data source in the window that appears
24+
25+
![Source replacement 2](https://github.com/teccod/AtScale-Tableau-DC/blob/main/readme_img/10.png)
26+
27+
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<datasource formatted-name="ContributedMembers" inline="true" version="18.1" xmlns:user="http://www.tableausoftware.com/xml/user">
3+
<!-- TDS Generated by AtScale Engine version 2021.4.0.11186 -->
4+
<!-- Cube is member of schema "EnCommunnityAnalytics2" with content hash 83a0630c5afcb161cb2620b2e4c2893c4e554aa0 -->
5+
<connection class="federated">
6+
<named-connections>
7+
<named-connection name="AtScale">
8+
<connection authentication="yes" authentication-type="3" class="hadoophive" connection-type="2" transport-type="1" dbname="" odbc-connect-string-extras="DisableLimitZero=1;ssl=0" username="" one-time-sql="" port="11111" server="atscale-public.demo.community.intersystems.com" sslmode="">
9+
<connection-customization class="hadoophive" enabled="true" version="18.1">
10+
<vendor name="hadoophive"/>
11+
<driver name="hadoophive"/>
12+
<customizations>
13+
<customization name="odbc-connect-string-extras" value="DisableLimitZero=1;ssl=0"/>
14+
<customization name="CAP_CONNECT_STORED_PROCEDURE" value="no"/>
15+
<customization name="CAP_CREATE_TEMP_TABLES" value="no"/>
16+
<customization name="CAP_FAST_METADATA" value="no"/>
17+
<customization name="CAP_ODBC_USE_NATIVE_PROTOCOL" value="yes"/>
18+
<customization name="CAP_QUERY_BOOLEXPR_TO_INTEXPR" value="no"/>
19+
<customization name="CAP_QUERY_INCLUDE_GROUP_BY_COLUMNS_IN_SELECT" value="yes"/>
20+
<customization name="CAP_QUERY_GROUP_BY_ALIAS" value="no"/>
21+
<customization name="CAP_QUERY_GROUP_BY_DEGREE" value="yes"/>
22+
<customization name="CAP_QUERY_HAVING_REQUIRES_GROUP_BY" value="yes"/>
23+
<customization name="CAP_QUERY_HAVING_UNSUPPORTED" value="no"/>
24+
<customization name="CAP_QUERY_RECOMPILE_FAILED_QUERY" value="no"/>
25+
<customization name="CAP_QUERY_SELECT_ALIASES_SORTED" value="no"/>
26+
<customization name="CAP_QUERY_SORT_BY_DEGREE" value="yes"/>
27+
<customization name="CAP_QUERY_TOPSTYLE_LIMIT" value="yes"/>
28+
<customization name="CAP_QUERY_TOPSTYLE_ROWNUM" value="no"/>
29+
<customization name="CAP_QUERY_TOPSTYLE_TOP" value="no"/>
30+
<customization name="CAP_QUERY_TOP_0_METADATA" value="yes"/>
31+
<customization name="CAP_STORED_PROCEDURE_PREFER_TEMP_TABLE" value="no"/>
32+
<customization name="CAP_SUPPRESS_DISCOVERY_QUERIES" value="no"/>
33+
</customizations>
34+
</connection-customization>
35+
</connection>
36+
</named-connection>
37+
</named-connections>
38+
<relation connection="AtScale" name="ContributedMembers" table="[encommunnityanalytics2].[contributedmembers]" type="table"/>
39+
</connection>
40+
41+
<column caption="FullDateContribution" datatype="date" name="[FullDateContribution]" role="dimension" type="ordinal">
42+
43+
</column>
44+
<column caption="Link" datatype="string" name="[Link]" role="dimension" type="nominal">
45+
46+
</column>
47+
<column caption="MonthYear" datatype="string" name="[MonthYear]" role="dimension" type="nominal">
48+
49+
</column>
50+
<column caption="MonthYearNum" datatype="integer" name="[MonthYearNum]" role="dimension" type="ordinal">
51+
52+
</column>
53+
<column caption="Name" datatype="string" name="[Name]" role="dimension" type="nominal">
54+
55+
</column>
56+
<column caption="YearContributors" datatype="integer" name="[YearContributors]" role="dimension" type="ordinal">
57+
58+
</column>
59+
<column aggregation="Sum" caption="CommentsVotes" datatype="integer" name="[m_CommentVotes_sum]" role="measure" type="quantitative">
60+
61+
</column>
62+
<column aggregation="Sum" caption="CommentsAmount" datatype="integer" name="[m_CommentsAmount_sum]" role="measure" type="quantitative">
63+
64+
</column>
65+
<column aggregation="Sum" caption="Comments" datatype="integer" name="[m_Comments_sum]" role="measure" type="quantitative">
66+
67+
</column>
68+
<column aggregation="CountD" caption="ContributionMembers" datatype="integer" name="[m_Member_distinct]" role="measure" type="quantitative">
69+
70+
</column>
71+
<column aggregation="Sum" caption="Points" datatype="integer" name="[m_Overall_sum]" role="measure" type="quantitative">
72+
73+
</column>
74+
<column aggregation="Sum" caption="PostsVotes" datatype="integer" name="[m_PostVotes_sum]" role="measure" type="quantitative">
75+
76+
</column>
77+
<column aggregation="Sum" caption="Posts" datatype="integer" name="[m_Posts_sum]" role="measure" type="quantitative">
78+
79+
</column>
80+
<column aggregation="Sum" caption="Views" datatype="integer" name="[m_Views_sum]" role="measure" type="quantitative">
81+
82+
</column>
83+
<drill-paths>
84+
<drill-path name="AuthorInfo">
85+
86+
<field>[Link]</field>
87+
<field>[Name]</field>
88+
89+
</drill-path><drill-path name="DateDimensionContribution">
90+
91+
<field>[MonthYear]</field>
92+
<field>[MonthYearNum]</field>
93+
94+
</drill-path>
95+
</drill-paths>
96+
97+
<layout dim-ordering="alphabetic" dim-percentage="0.5" measure-ordering="alphabetic" measure-percentage="0.4" show-structure="false"/>
98+
</datasource>
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<datasource formatted-name="Members" inline="true" version="18.1" xmlns:user="http://www.tableausoftware.com/xml/user">
3+
<!-- TDS Generated by AtScale Engine version 2021.4.0.11186 -->
4+
<!-- Cube is member of schema "EnCommunnityAnalytics2" with content hash 83a0630c5afcb161cb2620b2e4c2893c4e554aa0 -->
5+
<connection class="federated">
6+
<named-connections>
7+
<named-connection name="AtScale">
8+
<connection authentication="yes" authentication-type="3" class="hadoophive" connection-type="2" transport-type="1" dbname="" odbc-connect-string-extras="DisableLimitZero=1;ssl=0" username="" one-time-sql="" port="11111" server="atscale-public.demo.community.intersystems.com" sslmode="">
9+
<connection-customization class="hadoophive" enabled="true" version="18.1">
10+
<vendor name="hadoophive"/>
11+
<driver name="hadoophive"/>
12+
<customizations>
13+
<customization name="odbc-connect-string-extras" value="DisableLimitZero=1;ssl=0"/>
14+
<customization name="CAP_CONNECT_STORED_PROCEDURE" value="no"/>
15+
<customization name="CAP_CREATE_TEMP_TABLES" value="no"/>
16+
<customization name="CAP_FAST_METADATA" value="no"/>
17+
<customization name="CAP_ODBC_USE_NATIVE_PROTOCOL" value="yes"/>
18+
<customization name="CAP_QUERY_BOOLEXPR_TO_INTEXPR" value="no"/>
19+
<customization name="CAP_QUERY_INCLUDE_GROUP_BY_COLUMNS_IN_SELECT" value="yes"/>
20+
<customization name="CAP_QUERY_GROUP_BY_ALIAS" value="no"/>
21+
<customization name="CAP_QUERY_GROUP_BY_DEGREE" value="yes"/>
22+
<customization name="CAP_QUERY_HAVING_REQUIRES_GROUP_BY" value="yes"/>
23+
<customization name="CAP_QUERY_HAVING_UNSUPPORTED" value="no"/>
24+
<customization name="CAP_QUERY_RECOMPILE_FAILED_QUERY" value="no"/>
25+
<customization name="CAP_QUERY_SELECT_ALIASES_SORTED" value="no"/>
26+
<customization name="CAP_QUERY_SORT_BY_DEGREE" value="yes"/>
27+
<customization name="CAP_QUERY_TOPSTYLE_LIMIT" value="yes"/>
28+
<customization name="CAP_QUERY_TOPSTYLE_ROWNUM" value="no"/>
29+
<customization name="CAP_QUERY_TOPSTYLE_TOP" value="no"/>
30+
<customization name="CAP_QUERY_TOP_0_METADATA" value="yes"/>
31+
<customization name="CAP_STORED_PROCEDURE_PREFER_TEMP_TABLE" value="no"/>
32+
<customization name="CAP_SUPPRESS_DISCOVERY_QUERIES" value="no"/>
33+
</customizations>
34+
</connection-customization>
35+
</connection>
36+
</named-connection>
37+
</named-connections>
38+
<relation connection="AtScale" name="Members" table="[encommunnityanalytics2].[members]" type="table"/>
39+
</connection>
40+
41+
<column caption="AuthorFullName" datatype="string" name="[AuthorFullName]" role="dimension" type="nominal">
42+
43+
</column>
44+
<column caption="AuthorLink" datatype="string" name="[AuthorLink]" role="dimension" type="nominal">
45+
46+
</column>
47+
<column caption="AuthorName" datatype="string" name="[AuthorName]" role="dimension" type="nominal">
48+
49+
</column>
50+
<column caption="FullDateMember" datatype="date" name="[FullDateMember]" role="dimension" type="ordinal">
51+
52+
</column>
53+
<column caption="Link" datatype="string" name="[Link]" role="dimension" type="nominal">
54+
55+
</column>
56+
<column caption="MonthYear" datatype="string" name="[MonthYear]" role="dimension" type="nominal">
57+
58+
</column>
59+
<column caption="MonthYearNum" datatype="integer" name="[MonthYearNum]" role="dimension" type="ordinal">
60+
61+
</column>
62+
<column caption="Name" datatype="string" name="[Name]" role="dimension" type="nominal">
63+
64+
</column>
65+
<column caption="YearMember" datatype="integer" name="[YearMember]" role="dimension" type="ordinal">
66+
67+
</column>
68+
<column aggregation="CountD" caption="Members" datatype="integer" name="[m_ID_distinct]" role="measure" type="quantitative">
69+
70+
</column>
71+
<column aggregation="CountD" caption="ContributionMembers" datatype="integer" name="[m_Member_distinct]" role="measure" type="quantitative">
72+
73+
</column>
74+
<column aggregation="CountD" caption="MTM_Members_num" datatype="integer" name="[MTM_Members_num]" role="measure" type="quantitative">
75+
76+
</column>
77+
<column default-format="p0.00%" aggregation="Avg" caption="MTM_Members_percent" datatype="real" name="[MTM_Members_percent]" role="measure" type="quantitative">
78+
79+
</column>
80+
<column aggregation="CountD" caption="TotalMemberMonth" datatype="integer" name="[TotalMemberMonth]" role="measure" type="quantitative">
81+
82+
</column>
83+
<column aggregation="CountD" caption="TotalMemberYear" datatype="integer" name="[TotalMemberYear]" role="measure" type="quantitative">
84+
85+
</column>
86+
<drill-paths>
87+
<drill-path name="AuthorInfo">
88+
89+
<field>[Link]</field>
90+
<field>[Name]</field>
91+
92+
</drill-path><drill-path name="DateDimensionMember">
93+
94+
<field>[MonthYear]</field>
95+
<field>[MonthYearNum]</field>
96+
97+
</drill-path>
98+
</drill-paths>
99+
100+
<layout dim-ordering="alphabetic" dim-percentage="0.5" measure-ordering="alphabetic" measure-percentage="0.4" show-structure="false"/>
101+
</datasource>

0 commit comments

Comments
 (0)