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: 
sergi2
Contributor
Contributor

thmap generate empty array when input is not present

Hi,

I have a Simpleloop in a thmap with json structures that works ok when the input has value.

But the input can be present or not, and it doesn´t generate the anything when the input is not there. I would like to generate an empty array "[]" for further processing in next steps.

is that possible??

0695b00000kWQtAAAW.png

Thanks!!

Labels (3)
2 Replies
anselmopeixoto
Partner - Creator III
Partner - Creator III

Hi @Sergio Fornes​ 

 

Try changing costsplit loop from 1:* to 0:*

sergi2
Contributor
Contributor
Author

Hi @Anselmo Peixoto​,

Thanks for the answer but I tried all combinations of 1:* and 0:* in the input and output and it didn´t work.

I also tried setting the "emit" and "null" to True, but didn´t work.