Changes for page Fonctions Mesure calculée avancés
Last modified by Aurelie Bertrand on 2020/09/24 14:12
From version 1.1
edited by mrochelle
on 2020/09/23 11:19
on 2020/09/23 11:19
Change comment:
There is no comment for this version
To version 1.2
edited by Aurelie Bertrand
on 2020/09/24 14:12
on 2020/09/24 14:12
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. mrochelle1 +xwiki:XWiki.aureliebertranddigdashbiz - Default language
-
... ... @@ -1,0 +1,1 @@ 1 +fr - Content
-
... ... @@ -1,3 +1,27 @@ 1 +{{toc/}} 2 + 3 +---- 4 + 5 +You may use javascript functions in calculated measure, such as "if" test, or even "for" loop. 6 +You can also use DigDash functions to explore the dimensions 7 + 8 += Write in the logs = 9 + 10 +You may display variables, text, measure, dimension in the ogs using the following code : 11 + 12 +{{code language="js"}}Packages.com.digdash.utils.MessageStack.getInstance().addText("Je suis dans les logs !!! ");{{/code}} 13 + 14 +Example : 15 + 16 +[[image:1600944409879-673.png]] 17 + 18 + 19 +What appears in the logs : 20 + 21 +[[image:1600944499398-123.png]] 22 + 23 +WIth this, you can check and vet the different steps when building your calculated measure. 24 + 1 1 = Measure based on filtered dimensions = 2 2 3 3 * Example: ... ... @@ -17,7 +17,7 @@ 17 17 18 18 * Usage: 19 19 20 -Can be used if we want to change the rendered values based on the filetered dimensions 44 +Can be used if we want to change the rendered values based on the filetered dimensions. 21 21 22 22 = Measure based on explored dimensions = 23 23