Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Customers, Partners & Luminaries only: You're invited to a Data Analytics Roadmap session. Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Partner
Partner

Compare fields and assign values

Hi community!

I need your help in a issue. Explain me:

I have a table with duplicate rows:

1.PNG

In this example, I must show only one row, but show three for fields indicated in red. The correct output is:

2.PNG

I need assign null value to the fields indicated when find rows duplicated for this fields and update the number of rows.

Any idea? Thanks.

8 Replies
Highlighted

Because, you have different equipo, description, marca and modelo values.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Highlighted
Partner
Partner

Yes, I know.

But the information real is being repeated. I need convert the first image in second image.

Highlighted

Try to use Table box for that

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Highlighted
Partner
Partner

This issue must be solved in script. Is not a design problem.

Highlighted
Master II
Master II

.... and what for do you need then the fields "marca" and "modelo"?

what is supposed to happen, if there are different fieldcontents in the other fields?

anyway and with aircode:

LOAD DISTINCT Field1, Field2, Field2....., NULL() as marca, NULL() as modelo FROM ....;

HTH Peter

Highlighted
Partner
Partner

So the client wishes...

Your LOAD not works but the table have 6500 rows, when someone is a unique row and others are few rows duplicates. In your LOAD can´t filter by equals dynamic fields.

Highlighted

Can you provide excel

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Highlighted
Master II
Master II

what is the keyfield in your data?