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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
reporting_neu
Creator III
Creator III

Interno and Resident

Hello,

how can I use "Interno" and "Resident" together in this Script?

The field "ANZuordnung_Valid_until" was previously created, so the table (TMP2) already exists.

NoConcatenate
Orga_AN_Zuord:
LOAD
	OrgID, 
	MDNr, 
	ANNr, 
    Status,
    1 as valid,
    Date(ANZuordnung_Valid_from + IterNo()-1) as NewDate While Date(ANZuordnung_Valid_from+IterNo()-1)<=if(isnull(ANZuordnung_Valit_until), today(), ANZuordnung_Valid_until)
Resident TMP2;

 Can you help me please?

Labels (1)
1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

 

refer this blog for more

https://community.qlik.com/t5/Member-Articles/Generating-Missing-Data-In-QlikView/ta-p/1491394

Orga_AN_Zuord:
LOAD
	OrgID, 
	MDNr, 
	ANNr, 
    Status,
    1 as valid,
    Date(ANZuordnung_Valid_from + IterNo()-1) as NewDate 
Resident TMP2
While Date(ANZuordnung_Valid_from+IterNo()-1)<=date(if(isnull(ANZuordnung_Valit_until), today(), ANZuordnung_Valid_until));

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

2 Replies
vinieme12
Champion III
Champion III

 

refer this blog for more

https://community.qlik.com/t5/Member-Articles/Generating-Missing-Data-In-QlikView/ta-p/1491394

Orga_AN_Zuord:
LOAD
	OrgID, 
	MDNr, 
	ANNr, 
    Status,
    1 as valid,
    Date(ANZuordnung_Valid_from + IterNo()-1) as NewDate 
Resident TMP2
While Date(ANZuordnung_Valid_from+IterNo()-1)<=date(if(isnull(ANZuordnung_Valit_until), today(), ANZuordnung_Valid_until));

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
reporting_neu
Creator III
Creator III
Author

Thank you so much! 🙂