Changes for page 10 Constraints

Last modified by Artur on 2025/09/10 11:19

From version 1.14
edited by Helena
on 2025/06/16 12:21
Change comment: There is no comment for this version
To version 3.1
edited by Helena
on 2025/06/16 12:25
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -376,12 +376,13 @@
376 376  
377 377  Considering the above examples, the following CubeRegions would be created:
378 378  
379 -|(% rowspan="3" %)CubeRegion1|FREQ|Q, A
380 -|VIS_CTY|MX, DE
381 -|OBS_STATUS|A
382 -|(% rowspan="3" %)CubeRegion2|FREQ|M
383 -|VIS_CTY|MX, DE
384 -|OBS_STATUS|F
379 +(% style="width:449.294px" %)
380 +|(% rowspan="3" style="width:126px" %)(% style="color:#2980b9" %)CubeRegion1|(% style="width:137px" %)(% style="color:#2980b9" %)FREQ|(% style="width:183px" %)(% style="color:#2980b9" %)Q, A
381 +|(% style="width:137px" %)(% style="color:#2980b9" %)VIS_CTY|(% style="width:183px" %)(% style="color:#2980b9" %)MX, DE
382 +|(% style="width:137px" %)(% style="color:#27ae60" %)OBS_STATUS|(% style="width:183px" %)(% style="color:#27ae60" %)A
383 +|(% rowspan="3" style="width:126px" %)(% style="color:#2980b9" %)CubeRegion2|(% style="width:137px" %)(% style="color:#2980b9" %)FREQ|(% style="width:183px" %)(% style="color:#2980b9" %)M
384 +|(% style="width:137px" %)(% style="color:#2980b9" %)VIS_CTY|(% style="width:183px" %)(% style="color:#2980b9" %)MX, DE
385 +|(% style="width:137px" %)(% style="color:#27ae60" %)OBS_STATUS|(% style="width:183px" %)(% style="color:#27ae60" %)F
385 385  
386 386  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).
387 387  
... ... @@ -389,21 +389,24 @@
389 389  
390 390  DSD CubeRegion:
391 391  
392 -|FREQ|M, Q, A
393 -|VIS_CTY|MX, DE
394 -|OBS_STATUS|A, F
393 +(% style="width:280.294px" %)
394 +|(% style="width:156px" %)(% style="color:#2980b9" %)FREQ|(% style="width:121px" %)(% style="color:#2980b9" %)M, Q, A
395 +|(% style="width:156px" %)(% style="color:#2980b9" %)VIS_CTY|(% style="width:121px" %)(% style="color:#2980b9" %)MX, DE
396 +|(% style="width:156px" %)(% style="color:#27ae60" %)OBS_STATUS|(% style="width:121px" %)(% style="color:#27ae60" %)A, F
395 395  
396 396  Dataflow1 CubeRegion:
397 397  
398 -|FREQ|Q, A
399 -|VIS_CTY|MX, DE
400 -|OBS_STATUS|F
400 +(% style="width:285.294px" %)
401 +|(% style="width:157px" %)(% style="color:#2980b9" %)FREQ|(% style="width:125px" %)(% style="color:#2980b9" %)Q, A
402 +|(% style="width:157px" %)(% style="color:#2980b9" %)VIS_CTY|(% style="width:125px" %)(% style="color:#2980b9" %)MX, DE
403 +|(% style="width:157px" %)(% style="color:#27ae60" %)OBS_STATUS|(% style="width:125px" %)(% style="color:#27ae60" %)F
401 401  
402 402  Dataflow2 CubeRegion:
403 403  
404 -|FREQ|M
405 -|VIS_CTY|MX, DE
406 -|OBS_STATUS|A
407 +(% style="width:288.294px" %)
408 +|(% style="width:159px" %)(% style="color:#2980b9" %)FREQ|(% style="width:126px" %)(% style="color:#2980b9" %)M
409 +|(% style="width:159px" %)(% style="color:#2980b9" %)VIS_CTY|(% style="width:126px" %)(% style="color:#2980b9" %)MX, DE
410 +|(% style="width:159px" %)(% style="color:#27ae60" %)OBS_STATUS|(% style="width:126px" %)(% style="color:#27ae60" %)A
407 407  
408 408  **Use case 6: A Constraint on allowed values for some Dimensions combined with allowed values for Measures**
409 409  
... ... @@ -411,14 +411,15 @@
411 411  
412 412  This may be expressed with the following DataKeySet:
413 413  
414 -|(% rowspan="4" %)Key1|FREQ|M
415 -|VIS_CTY|DE
416 -|UNIT|EUR
417 -|CHOICE|A
418 -|(% rowspan="4" %)Key2|FREQ|Q
419 -|VIS_CTY|MX
420 -|UNIT|USD
421 -|CHOICE|B
418 +(% style="width:404.294px" %)
419 +|(% rowspan="4" style="width:99px" %)(% style="color:#2980b9" %)Key1|(% style="width:153px" %)(% style="color:#2980b9" %)FREQ|(% style="width:149px" %)(% style="color:#2980b9" %)M
420 +|(% style="width:153px" %)(% style="color:#2980b9" %)VIS_CTY|(% style="width:149px" %)(% style="color:#2980b9" %)DE
421 +|(% style="width:153px" %)(% style="color:#27ae60" %)UNIT|(% style="width:149px" %)(% style="color:#27ae60" %)EUR
422 +|(% style="width:153px" %)(% style="color:#e74c3c" %)CHOICE|(% style="width:149px" %)(% style="color:#e74c3c" %)A
423 +|(% rowspan="4" style="width:99px" %)(% style="color:#2980b9" %)Key2|(% style="width:153px" %)(% style="color:#2980b9" %)FREQ|(% style="width:149px" %)(% style="color:#2980b9" %)Q
424 +|(% style="width:153px" %)(% style="color:#2980b9" %)VIS_CTY|(% style="width:149px" %)(% style="color:#2980b9" %)MX
425 +|(% style="width:153px" %)(% style="color:#27ae60" %)UNIT|(% style="width:149px" %)(% style="color:#27ae60" %)USD
426 +|(% style="width:153px" %)(% style="color:#e74c3c" %)CHOICE|(% style="width:149px" %)(% style="color:#e74c3c" %)B
422 422  
423 423  **Use Case 7: A Constraint with wildcards for Codes and removePrefix property** 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.
424 424  
... ... @@ -430,8 +430,9 @@
430 430  
431 431  This may be expressed with the following CubeRegion:
432 432  
433 -|FREQ|M, Q
434 -|VIS_CTY (removePrefix=’AREA_’)|M%
438 +(% style="width:379.294px" %)
439 +|(% style="width:264px" %)(% style="color:#2980b9" %)FREQ|(% style="width:112px" %)(% style="color:#2980b9" %)M, Q
440 +|(% style="width:264px" %)(% style="color:#2980b9" %)VIS_CTY (removePrefix=’AREA_’)|(% style="width:112px" %)(% style="color:#2980b9" %)M%
435 435  
436 436  **Use Case 8: A Constraint with multilingual support on Attributes**
437 437  
... ... @@ -443,9 +443,10 @@
443 443  
444 444  This may be expressed with the following CubeRegion:
445 445  
446 -|FREQ|M, Q
447 -|VIS_CTY|MX
448 -|COMMENT (lang=’en’)|%adjusted%
452 +(% style="width:382.294px" %)
453 +|(% style="width:190px" %)(% style="color:#2980b9" %)FREQ|(% style="width:189px" %)(% style="color:#2980b9" %)M, Q
454 +|(% style="width:190px" %)(% style="color:#2980b9" %)VIS_CTY|(% style="width:189px" %)(% style="color:#2980b9" %)MX
455 +|(% style="width:190px" %)(% style="color:#27ae60" %)COMMENT (lang=’en’)|(% style="width:189px" %)(% style="color:#27ae60" %)%adjusted%
449 449  
450 450  **Use Case 9: A Constraint on allowed values for Dimensions combined with allowed** values for Metadata Attributes R1: Allow monthly and quarterly data
451 451  
... ... @@ -455,6 +455,7 @@
455 455  
456 456  This may be expressed with the following CubeRegion:
457 457  
458 -|FREQ|M, Q
459 -|VIS_CTY|MX
460 -|CONTACT|John Doe
465 +(% style="width:388.294px" %)
466 +|(% style="width:181px" %)(% style="color:#2980b9" %)FREQ|(% style="width:204px" %)(% style="color:#2980b9" %)M, Q
467 +|(% style="width:181px" %)(% style="color:#2980b9" %)VIS_CTY|(% style="width:204px" %)(% style="color:#2980b9" %)MX
468 +|(% style="width:181px" %)(% style="color:#f39c12" %)CONTACT|(% style="width:204px" %)(% style="color:#f39c12" %)John Doe
SUZ.Methodology.Code.MethodologyClass[0]
index
... ... @@ -1,0 +1,1 @@
1 +10