Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

DM and class join

HI

I am using qlik sense.

Select

"EXP_COST_ROLLUP_CD" as  "HIER_EXP_COST_ROLLUP_CD",

    "EXP_COST_ROLLUP_NM" as "HIER_EXP_COST_ROLLUP_NM",

    "EXP_COST_ACCOUNT_CD" as "HIER_EXP_COST_ACCOUNT_CD",

    "EXP_COST_ACCOUNT_NM" as "HIER_EXP_COST_ACCOUNT_NM",

    "EXP_COST_SUBCATEGORY_CD",

    "EXP_COST_SUBCATEOGRY_NM",

    "HIER6_CD",

    "HIER6_NM",

    "HIER7_CD",

    "HIER7_NM",

    "HIER8_CD",

    "HIER8_NM",

    "HIER9_CD",

    "HIER9_NM",

    "HIER10_CD",

    "HIER10_NM",

    "HIERARCHY_ID",

    "ENABLED_FLG"

FROM "EXP_D_EXPENSE_HIERARCHY";

Select

"EXP_CLASS_CD",

  "EXP_DIVISION_CD",

  "EXP_COST_ROLLUP_CD",

  "EXP_COST_ACCOUNT_CD",

  "EXP_COST_SUBCATEGORY_CD",

......

From FACT.

I have to join(2 columns) like below how can i achieve this

EXP_COST_ACCOUNT_CD=EXP_COST_ACCOUNT_CD and

"EXP_COST_SUBCATEGORY_CD"="EXP_COST_SUBCATEGORY_CD"

2 Replies
ikomlyakov1929
Partner - Contributor III
Partner - Contributor III

Hi, Govind!

You can make a key in both tables like

EXP_COST_ACCOUNT_CD + EXP_COST_SUBCATEGORY_CD as MyKeyForJoin

And than join!

Not applicable
Author

superb.I will check and let you know.Thanks