The surrogate key strikes back
If you
ever participated in building a data warehouse or worked around data
warehouses, you've probably came across the surrogate key (SK) notion. If
you’re not familiar, then take a look at this article on the Kimball's group
website.
Surrogate
keys are very common in data warehouses and they bring a lot of functionality,
from design to performance enhancements.
Now, one
of the surrogate key's drawbacks is the difficulty to keep it in synch between
all environments. As each environment can be linked to a different version of
the source (e.g. UAT, live environments etc.), surrogate keys can get off for
the same natural key and this can also have an effect in MicroStrategy.
When
building attributes you have to define its forms. The ID form should contain a
unique key describing the attribute in order to provide correct joining,
aggregation and attribute member list when applying filters. Indeed the
surrogate key doesn’t have any business meaning, so this form will be hidden
from user interaction, therefore the key is not displayed by default in
reports, nor in the member list when filtering.
The
reusable filters (filter objects) in MicroStrategy have a specific property
that makes using attributes based on surrogate keys a no-go. When the filters
are defined, even if the display form is the description (DESC form type), the
attribute's key in the ID form is also encapsulated in the filter, as this is
the core information that provides display integrity to the attribute. When
these filters are pushed to the other MicroStrategy environments, the key(s)
defined in the filter are part of the filter's definition. This is really going
to be a blow; your report will retrieve other values, because the keys used in
the filter definition don’t match the same keys on the environment where they
were defined.
To
overcome this, we defined a policy to isolate the surrogate keys into dedicated
technical attributes, which we eventually hid from the users (as they don't
have a business meaning). This indeed increases the number of defined
attributes, but overcomes the aforementioned problem and also makes things a
bit more clear and visible in terms of the
MicroStrategy model. After the technical attribute is defined tyou just
need to relate all the other dimension's attributes as the parent of the
technical attribute and you're done. Your main attribute should now contain
either the natural key, or the concatenated natural key if this is compound
natural key.
Because
the SK is now separated from any main-stream attribute, all the filters will
work correctly.
It is nice blog Thank you provide important information and I am searching for
ReplyDeletethe same information
Tableau Online Course
Do you want to write about data warehouse on your twitter page? You can get followers from this site https://soclikes.com/buy-twitter-followers and try it
ReplyDeletewhat is ms
ReplyDeleteazure free tier
azure adf
adf interview questions
azure certifications
azure traffic manager
azure bastion
azure security center
The best mobil sohbet mobil sohbet sohbet chat
ReplyDelete
ReplyDeletediyarbakır eskort
izmit eskort
bodrum eskort
urfa eskort
bitlis eskort
bingöl eskort
bursa eskort
erzurum eskort
erzincan eskort
samsun eskort
konyaaltı eskort
ReplyDeletekuşadası eskort
lefkoşa eskort
malatya eskort
manavgat eskort
marmaris eskort
mersin eskort
muğla eskort
niğde eskort
ordu eskort
sivas eskort
ReplyDeletetekirdağ eskort
tokat eskort
trabzon eskort
tunceli eskort
urfa eskort
uşak eskort
van eskort
yalova eskort
yozgat eskort
burdur eskort
ReplyDeletebursa eskort
çanakkale eskort
çankırı eskort
çorum eskort
denizli eskort
diyarbakır eskort
düzce eskort
edirne eskort
elazığ eskort
adana eskort
ReplyDeleteadıyaman eskort
afyon eskort
ağrı eskort
aksaray eskort
amasya eskort
ankara eskort
antalya eskort
antep eskort
ardahan eskort
artvin eskort
ReplyDeleteaydın eskort
balıkesir eskort
bartın eskort
batman eskort
bayburt eskort
bilecik eskort
bingöl eskort
bitlis eskort
bolu eskort
izmir eskort
ReplyDeletemaraş eskort
karabük eskort
karaman eskort
kars eskort
kastamonu eskort
kayseri eskort
kilis eskort
kırıkkale eskort
kırklareli eskort
maraş eskort
ReplyDeletekarabük eskort
karaman eskort
kars eskort
kastamonu eskort
kayseri eskort
kilis eskort
kırıkkale eskort
kırklareli eskort
kocaeli eskort
kırşehir eskort
ReplyDeletekonya eskort
kütahya eskort
malatya eskort
manisa eskort
mardin eskort
mersin eskort
muğla eskort
muş eskort
nevşehir eskort
niğde eskort
ReplyDeleteordu eskort
osmaniye eskort
rize eskort
sakarya eskort
samsun eskort
siirt eskort
sinop eskort
şırnak eskort
sivas eskort
smm panel
ReplyDeletesmm panel
Https://isilanlariblog.com/
instagram takipçi satın al
HIRDAVAT
Beyazesyateknikservisi.com.tr
SERVİS
tiktok jeton hilesi
Thanks for this insightful post, it was definitely worth the read! - Khopal Free Classified
ReplyDelete