Changes for page 10 Constraints
Last modified by Helena on 2025/09/10 11:19
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -278,6 +278,8 @@ 278 278 279 279 [[image:1747387252077-954.png]] 280 280 281 +[[image:1747387281625-859.png]] 282 + 281 281 ===== 10.3.4.2.5 Use Case 5: A Constraint on allowed values for some Dimensions together with some combination of Dimension values ===== 282 282 283 283 R1: For annually and quarterly data, for Mexico and Germany, only A status is allowed ... ... @@ -285,7 +285,7 @@ 285 285 286 286 Considering the above examples, the following CubeRegions would be created: 287 287 288 -[[image:1747387 281625-859.png]]290 +[[image:1747387330751-405.png]] 289 289 290 290 The problem with this approach is that according to the business rule for Constraints, only one should be specified per Component. Thus, if a software would perform some conflict resolution would end up with empty sets for FREQ and OBS_STATUS (as they do not share any values). 291 291 ... ... @@ -300,18 +300,8 @@ 300 300 ===== 10.3.4.2.6 Use case 6: A Constraint on allowed values for some Dimensions combined with allowed values for Measures ===== 301 301 302 302 R1: Allow monthly data, for Germany, with unit euro, and measure choice is 'A' 303 - 304 304 R2: Allow quarterly data, for Mexico, with unit usd, and measure choice is 'B' This is may be expressed with the following DataKeySet: 305 305 306 -|(% rowspan="4" %)Key1|FREQ|M 307 -|VIS_CTY|DE 308 -|UNIT|EUR 309 -|CHOICE|A 310 -|(% rowspan="4" %)Key2|FREQ|Q 311 -|VIS_CTY|MX 312 -|UNIT|USD 313 -|CHOICE|B 314 - 315 315 ===== 10.3.4.2.7 Use Case 7: A Constraint with wildcards for Codes and removePrefix property ===== 316 316 317 317 For this example, we assume that the VIS_CTY representation has been prefixed with prefix ‘AREA_’. In this Constraint, we need to remove the prefix.
- 1747387330751-405.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.helena - Size
-
... ... @@ -1,0 +1,1 @@ 1 +15.8 KB - Content