PricingBlog

No item/index after grouping API data

  • xioteer-1251968308572590201

    Xioteer

    1 year ago

    I have grouped my timestamps by converting them to dates.

    Now when I want to use them, I don't have the item/index.

    I am pretty sure I am missing a node to iterate through the new array.

    In the example I am trying to sort the new array, but that's only one example. If I try to show the data in children, it's also not showing up.
    1251968308807340154-image.png
  • max.kayr-1251980751948480716

    Max

    1 year ago

    The "Group by" node gives you an object as the output. You can see that at the input type of the "Sort by" node. If you want to process it as an array, you need another node in between. I am not at my Laptop but I think it is called "Entries"
  • xioteer-1251987905451130910

    Xioteer

    1 year ago

    I need to start to pay attention to these things like the types shown.

    Thanks! I will try that
  • xioteer-1252390141700472902

    Xioteer

    1 year ago

    @Max This worked perfectly and helped me to move forward! Thanks so much. Will hopefully help me also now to keep an eye out for the input type. Was the third time that realizing this would have potentially brought me already further by converting the type
    💪1