0 Replies Latest reply: Aug 29, 2018 1:28 PM by Yusuf Feroze Akhtar RSS

    Is there a way to use loops on a SQL table-valued function parameter in Qlik?

    Yusuf Feroze Akhtar

      I am trying to use a function with one of the parameters to be changed and take these values:

      14 18 22 67 77 86 94 114 141 145 150 189 242 246 251 312 316 345 349 359 431 435 439 443 457 470 474 482 489 493 516 836 538 551

       

      Is there a way I can proceed to make a table containing the output from all of these?

       

      declare @item_id int =14

      select * from abc.get_data(32,@item_id,'19000101','99991231')