Exporting dataset to Excel starting on second column

Hi all,
I am exporting a dataset to Excel using a Web API and it works fine except that the first index of the array is located in columns A, B. C,... (it is a CDT) of the spreadsheet as it should, but the rest are located in columns B, C, D,...; that is, starting on the second column instead of the first.
This happens regardless of what is the 1st row od data (either headers or data from the CDT).
Anyone else suffered from this?

OriginalPostID-204856

OriginalPostID-204856

  Discussion posts and replies are publicly visible

Parents
  • Thank you for the SAIL. I've narrowed it down a bit further. It appears as though it's related to either the merge function or the repeat function. The following SAIL reproduces the issue:

    with(

    local!Name:{"John","Hugo","Ivan"},
    local!LastName:{"Carter","Sanchez","Cuatro"},
    local!Email:{"this@one.com","that@one.com","those@ones.com"},

    merge(local!Name,local!LastName,local!Email, repeat(3,char(13)))

    )

    I'll investigate this further.
Reply
  • Thank you for the SAIL. I've narrowed it down a bit further. It appears as though it's related to either the merge function or the repeat function. The following SAIL reproduces the issue:

    with(

    local!Name:{"John","Hugo","Ivan"},
    local!LastName:{"Carter","Sanchez","Cuatro"},
    local!Email:{"this@one.com","that@one.com","those@ones.com"},

    merge(local!Name,local!LastName,local!Email, repeat(3,char(13)))

    )

    I'll investigate this further.
Children
No Data