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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Circular Link Issue

Hi Team,

I am sharing you my sample table structure ( not actual but only sufficient information) to describe my problem and requirement.

The Yellow table is recently added into the application. which have YEAR-MONTH, MEMBERID, CITY wise Cumulative Growth.

due to CITY i am getting Circular Reference. but if i remove the Reference by changing the name i am not able to get link city.

how can i get below mention Information by SET Analysis or any other way.

Thanks in Advance

JKV

ucc_growth_.png

17 Replies
vikasmahajan

create some sample data and attach your qvw and source.

Viikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Not applicable
Author

Hi,

Please find attached Excel with sample Data and QVW for same.

effinty2112
Master
Master

Hi Jitendra,

Vikas' suggestion to remove the city field from the cumulative table looks good to me. You can get this table, is this not what you would expect?:

STATE CITY CLIENTID YEAR-MONTH sum(TRADEVALUE)sum([CUMATIVE COUNT])
MAHARASHTRAMUMBAIAA3/1/201410007
4/1/201430009
AC3/1/201420009
4/1/201450011
Total 6500 36
PUNEAY3/1/2014300013
4/1/201410006
Total 4000 19
NEW DELHIDELHIAB3/1/201410004
4/1/20145006
AX3/1/201415007
4/1/201415009
AZ4/1/2014300011
Total 7500 37
Total 18000 46

The data model:

Tableview.JPG

Not applicable
Author

Hi,

Sorry to say that but what u have given is totally wrong and data is also not matching as per city wise etc. if you see closely on 3/1/2014 Memberid 1001 have 2 clients AA and AX and cumlative count is MUMBAI is 5 and DELHI is 2

sample output what i want as below:

SELECTION :

YEAR-MONTH :3/1/2014

MEMBERID : 1001

OUTPUT

CITY
TRADE VALUE
CUMULATIVE COUNT
MUMBAI10005
DELHI15002

SELECTION :

YEAR-MONTH :4/1/2014

MEMBERID : 1001

OUTPUT

CITY
TRADE VALUE
CUMULATIVE COUNT
MUMBAI10006
DELHI15003
Not applicable
Author

The requirement is to show Monthly , Member, City wise Cumulative Client Growth. i have already processed the data and keep as it in the table Cumulative table.

MONTH_MEMBER_KEYCITYCUMATIVE COUNT
41699/1001MUMBAI5
41699/1001DELHI2
41730/1001MUMBAI6
41730/1001DELHI3

i can show this separate table easiy. but i have other table which show monthly, Member, City ( City comes from Client Master) wise Trade value.

Both individual separate table work fine.

i want to megre both table by city   so i can see value side by side in same table.

hope now you understand my requirement.

( changed TBL_CUMULATIVE  CITY field name to CUMULATIVE_CITY field name

SELECTION

YEAR-MONTH : 3/1/2014

MEMBERID : 1001

CITY Sum(TRADEVALUE)
2500
MUMBAI1000
DELHI1500

CUMULATIVE_CITY Sum([CUMATIVE COUNT])
7
DELHI2
MUMBAI5
effinty2112
Master
Master

Left Join(TBL_TRADE)

Load * Resident TBL_CLIENT;

Left Join(TBL_TRADE)

Load * Resident TBL_CUMULATIVE;

DROP Tables TBL_CLIENT, TBL_CUMULATIVE;

STATE CITY MEMBERID YEAR-MONTH sum(TRADEVALUE)sum([CUMATIVE COUNT])
MAHARASHTRAMUMBAI10013/1/201410005
4/1/201430006
10033/1/201420005
4/1/20145006
PUNE10023/1/201425003
4/1/201410004
10033/1/20145000
NEW DELHIDELHI10013/1/201415002
4/1/201415003
10023/1/201410001
4/1/20145002
10034/1/201430005
Total 18000 42
Not applicable
Author

Hi Andrew,

Thanks for your reply.

My original TBL_TRADE have around 23 columns and 3 Cr records and TBL_CLIENTS have around 27 Columns and around 32 lakh records.

My question is if i do join did it take more disk space on my system and also on memory (RAM) ?

Not applicable
Author

Hi Andrew,

i have tried as you said. my Server get hanged. i think its happen due to not sufficient memory (RAM).