Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Extract different labels by category in one reference table


I have the fact table like this

Table Orders                         

Order_IDOrderType_IDCustomerType_IDRemark_ID
1ExpB2CX
2ImpB2CY
3ExpB2BZ

Things like Order type or Customer type is stored in one table Parameter, by Category and in different language as following               

CategoryLanguageParam_IDDescription
OrderTypeDExpExporthandel
OrderTypeEExpExport
OrderTypeFExpExportation
CustomerTypeEB2CPrivate
CustomerTypeFB2CPrivée

I would like to obtain the description (label) in the interface according to the application language (via a variable)

like

(English)
Order_IDOrder_TypeCustomer_TypeRemark_ID
1ExportPrivateX
2ImportPrivateY
3ExportBusinessZ

(French)
Order_IDOrder_TypeCustomer_TypeRemark_ID
1ExportationPrivéeX
2ImportationPrivéeY
3ExportationEntrepriseZ

As far as I see:

- ApplyMap is quick, but it will increase the size of my fact table

- LOAD table Parameter and create link to the fact table, I have more than 10 fields that I would like to extract the description !


What is the best practice to handle such situation ?

Thank you

0 Replies