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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
gauravgg
Partner - Creator
Partner - Creator

Create a qvd by year

Hi All ,

 

I have the following table .

Material , Vendor , Plant ,Valid from , Valid to  ,Price.

form the above table i have to create qvd   Year wise Price for Material ,Vendor ,Plant combination ie. as follows 

Material , Vendor,Plant , Year ,Price 

 

Thanks in Advance

Labels (2)
1 Reply
martyn_birzys
Creator
Creator

If I understand you correctly, you need to create a qvd for each year? If that's so, I'd use for each loop, something like:

FOR Each y in FieldValueList('Year')

STORE Material , Vendor,Plant , Year ,Price into 'lib://FolderConnection/myfile ' & '$(y)' & '.qvd'

NEXT y;