Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
NavinReddy
Creator II
Creator II

Duplicate Data

Dear All,

I have issue with Data

Actually i have 346 rows i have in Excel

But i created month field ,for that i loaded same data in 12 Times

Now i have 4152 rows i have

when i use count of rows 4152 its showing ,but actually 346 only

How can i Fix this issue please some one help me

img.png

I am attached QVW please find the QVW

Thanks In Advance

Niranjan

1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi, Niru Niru.

Here is a modification of your QVW that I think will show you how to solve your problem. I'm going to attach the same file to your other posts about this issue too.

Hope it helps.

Bruno.

View solution in original post

18 Replies
Greg_Williams
Former Employee
Former Employee

Do you have a loop in your script?

Please share the script.

NavinReddy
Creator II
Creator II
Author

Hi,

open the Qvw you can find the Script

Regards,

Nianjan

Gysbert_Wassenaar

Please explain what you want 'fixed'.


talk is cheap, supply exceeds demand
NavinReddy
Creator II
Creator II
Author

Hi Gysbert,

Actual data is 346,when i am using count its showing 4152

How can i fix this issue when i am using count it will show only 346

Best Regards,

Niranjan

Not applicable

12*346 = 4152.

You are creating 346 records every time you concatenate

Greg_Williams
Former Employee
Former Employee

Yes. So it appears the fields (e.g. 1 as Month, 'Jan' as MonthDesc, etc.) are causing the replication in content to grow the records to 4152.

Have you considered employing:

1 - Preceding Load

2 - Mapping load/apply map to refer to appropriate month

Have you removed the explicit concatenation to see if Qlik will do this implicitly? If so, this can give you insight into how QV is treating your forced concatenation.

Greg !

Gysbert_Wassenaar

If you want a count of 342 then you need to load the data for only one month. You can't load 4152 records and get a record count of 342. Not in this universe at least. The math doesn't allow it.


talk is cheap, supply exceeds demand
NavinReddy
Creator II
Creator II
Author

Yes exactly ,

i didnt removed ,dont know how can i do this

e.g. 1 as Month, 'Jan' as MonthDesc,

how can i do it with out loding 12 times

Best Regards,

Niranjan

NavinReddy
Creator II
Creator II
Author

Yes , How can i break this

is there any way to with out using 12 times ,how can i create month field

Please guide me

Best Regards,

Niranjan