Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Keitaru
Creator II
Creator II

How do i update multiple Columns of data with where clause

Have Data set one in qvd other in excel

Data:
Load * FROM [$(vQVDFolder)/RDO.QVD](QVD);

 

Update:
LOAD
"Order Id",
"Trade Date",
"Actual Settlement Date",
Status,
"Correspondence Mode",
"Repair Indicator",
"Incoming Error Tag",
"Incoming_Problem Description"
FROM [$(vQVDFolder)/Trade Data.xlsx]
(ooxml, embedded labels, table is Sample);

Need to update the above columns into current data set where "Repair Indicator" = Yes

Anyone know how i can do this? I know I may need to do left join or something.

 

 

 

Labels (2)
4 Replies
sidhiq91
Specialist II
Specialist II

@Keitaru  I could not understand the issue. Could you please elaborate or provide some samples with the expected output?

PrashantSangle

what is your common Key field between these 2 table.

Try below 

Data:
Load * FROM [$(vQVDFolder)/RDO.QVD](QVD);

Left Join

Update:
LOAD

"Order Id",

"Trade Date",
"Actual Settlement Date",
Status,
"Correspondence Mode",
"Repair Indicator",
"Incoming Error Tag",
"Incoming_Problem Description"
FROM [$(vQVDFolder)/Trade Data.xlsx]
(ooxml, embedded labels, table is Sample)

Where "Repair Indicator" = 'Yes'

;

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Vegar
MVP
MVP

How does the first qvd data look like ? Is it structured identical as your Excel? And you want to update the rows containing "Repair Indicator" = 'Yes'?

Does the update contain the full new record or just parts that needs to be added to the Data?

It would be good if you have us a sample example.

Jebrezov
Contributor III
Contributor III

I’m interested in suggestions people give. My guess would be if it is as @Vegar mentions and your data sets are the same columns and you are trying to simply modify rows in the existing data, you will need to concatenation the 2 sources together and then remove the original now duplicate rows. You’ll likely need to add a new field to identify what data is from the new set vs old to achieve this.