Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

load from the CSV file, the data containing duplicate lines except the value in the last column

Hi guys! Help the beginner)) I need to load from the CSV file, the data containing duplicate lines (in the attachment example) except the value in the last column. What is the use of the function so that for the same values of the columns from 1 to 4, one line was formed, and the value from column_5 was the last one or any?

1 Solution

Accepted Solutions
ahaahaaha
Partner - Master
Partner - Master

Hi,

As variant (in attached files)

Directory;

LOAD DISTINCT

    Col_1,

    Col_2,

    Col_3,

    Col_4,

    Max(Col_5)

FROM

[33.xlsx]

(ooxml, embedded labels, table is Лист1)

Group By Col_1, Col_2, Col_3, Col_4;

Regards,

Andrey

View solution in original post

2 Replies
ahaahaaha
Partner - Master
Partner - Master

Hi,

As variant (in attached files)

Directory;

LOAD DISTINCT

    Col_1,

    Col_2,

    Col_3,

    Col_4,

    Max(Col_5)

FROM

[33.xlsx]

(ooxml, embedded labels, table is Лист1)

Group By Col_1, Col_2, Col_3, Col_4;

Regards,

Andrey

Not applicable
Author

Thank you so much!