Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Straight Table help

Hi All,

I have two tables...first table have sum values for each field.

Table1:

PLANTSOURCE_CDRECEIPT_CNTREQ_CNTOTD_CNTCYC_CNTDAY_CNTP5_CNTHISTORY
A1004200215260HISTORY
B1010211434045
C1021141354710

 

If I click on PLANT A(HISTORY) I need to show new table with PLANT A related data where SOURCE_CD=100 from Tabl2 Data (Attached excel have data sheet)

PLANT A OUTPUT TABLE:

out put table:
METRICFW_VALMONTH_VALQTR_VALUEYR_VAL
RECEIPT_CNT51966645
REQ_CNT6687132525
OTD_CNT00025
CYC_CNT14252854
DAY_CNT16103135306
P5_CNT586895108
Result table data where SOURCE_CD=100

table2 Data table:

MSR_IDSOURCE_CDFW_VALMONTH_VALQTR_VALUEYR_VAL
10011000728320
100110051238325
100210082245315
1002100586587210
100310000025
100410014252854
10051001598106250
1005100151956
1009100586895108
100110100756
100210100254
100210151535212
100210124556187
10031010101225
100410114252854
10051011598106250
1005101151956
100910104595100

I have attached the same ...any suggestions should appreciate.

Thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar

If you still see 0 for all expressions in the Plant table then you're looking at the wrong qvw document.

Delete all .qvw files with the name comm130076.qvw. Then redownload the example from my previous post. That will make sure you will be looking at the last version.


talk is cheap, supply exceeds demand

View solution in original post

8 Replies
Gysbert_Wassenaar

See attached qvw.


talk is cheap, supply exceeds demand
Not applicable
Author

Thx Gysbert,

Result Table looks good....but we have missed sum of data in plant table I would like to sum the each field value in PLANT table as well...seems it was missed.

Thanku

Gysbert_Wassenaar

Then enable them on the Expressions tab by setting the Total Mode to Expression Total.


talk is cheap, supply exceeds demand
Not applicable
Author

No I didnt not successed ....getting error  in expression like field missing ,see the attached image.

Thanku

Gysbert_Wassenaar

Ah, that. See attached updated qvw.


talk is cheap, supply exceeds demand
Not applicable
Author

Gysbert..I did not see updated data...still same issue in qvw.seems you for got add updated one?

Plant table have 0 for all expressions.

Thanks

Gysbert_Wassenaar

If you still see 0 for all expressions in the Plant table then you're looking at the wrong qvw document.

Delete all .qvw files with the name comm130076.qvw. Then redownload the example from my previous post. That will make sure you will be looking at the last version.


talk is cheap, supply exceeds demand
Not applicable
Author

Thanku Gysbert ..its good