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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

load exact same rows

Goodmorning,

I have a question. I want to read information out of a table that can contain exact the same rows for one Ordernumber (ORRGF2). For example:

BTCHF2BTCHF2@BTWBF2BTWCF2BTWPF2CDEKF2DCNRF2EKBDF2FKNRF2FKVLF2FKVLF2@OSRTF2PEURF2PNLGF2REGNF2VESTF2ORRGF2
1431800,00GD20,00LSD166147117,001121173860010917,0017,006011260126
1431800,00GD20,00LSD166147117,001121173860010917,0017,006011260126
1431800,00GD20,00LSD166147117,001121173860010917,0017,006011260126
1431800,00GD20,00LSD166147117,001121173860010917,0017,006011260126


If I select (load) these rows without any group by or order by function into Qlikview, I only get 1 of these rows.

BTCHF2BTCHF2@BTWBF2BTWCF2BTWPF2CDEKF2DCNRF2EKBDF2FKNRF2FKVLF2FKVLF2@OSRTF2PEURF2PNLGF2REGNF2VESTF2ORRGF2
1431800,00GD20,00LSD166147117,001121173860010917,0017,006011260126


It seems that Qlikview handles this as one unique and the same row, because they are all exact the same. But I need all four rows!
How can I solve this in Qlikview?

Best regards,

Johann

6 Replies
Not applicable
Author

hi,

you can include one additional field " index" in your table as follows

load rowno() as index

this should work fine now

thanks

d_pranskus
Partner - Creator III
Partner - Creator III

Hi

It is because the way QV displays data - If all values in the displayed fields are the same for each row, QV shows the row once. Actually there is all the rows in memory. You can check it by createing a chart which agregates the data to see the exact measures. Or Go to Table viewer and prevewiew the data

Not applicable
Author

This isn't true in this case. I see only one row, but the aggregation is also based on that one row.

Note: I select the data with SQL, not with the Load function within Qlikview.

Not applicable
Author

hi,

you can include one additional field " index" in your table as follows

load rowno() as index

and then use index as a dimension in your pivot table or a straight table to display all four rows

thanks



d_pranskus
Partner - Creator III
Partner - Creator III

Hi

I loaded the data from your example into QV, and as you can see, TableBox shows just one row, but if you create a chart (straight table) and create an expression, you can see that actualy all rows are present. See PEURF2 field the value for each row is 17, but in expresion there is 68.

If you need to display each row - you must have an ID as tauqueer suggested.

Cheers

DArius

Not applicable
Author

Thanks guys, the problem is solved now, but I had to put a SUM statement in my query to solve this problem. Now the report on the table is correct.

Regards,

Johann