Configuration Tips - Data Source, Datamart
Tips and Notes
Topic | Tip | Details |
---|---|---|
Warning on PA SQL queries | Think twice before using PA SQL Query API. Always ensure that you have designed your tables properly, to be well suited for solution of the problem before you start doing heavy PA SQLs on them. No special query will help, if your tables design does not fit the solution of the problem. | |
Querying saved/cached Datamart query | When querying the "saved/cached query", you query a different database (particularly the H2 engine which is used to store in-memory data), so you must use different "select projection expressions". Specifically, for example, if you need to do | |
Datamart query expressions are valid ONLY for direct Datamart queries, not for cached (Table Context) tables queries. For cached tables we use the H2 database which has a slightly different syntax. | ||
Date functions do not use data from cal Data Source | These functions ( | |
Money fields values | Money fields are recalculated to Total values. Because of this behavior, the numbers you see in the same Money column in an underlying Data Source and in Datamart can be different. | |
Automatic currency conversion | Automatic currency conversion works only for Datamart, and NOT for Data Source tables. If you query a Data Source, where each line has a different currency symbol, no automatic conversion is used and if you use aggregation function, you will end up with mixed-up wrong results. |
Found an issue in documentation? Write to us.
Â