79137515

Date: 2024-10-29 13:58:55
Score: 1
Natty:
Report link

Thank you horseyride. i was able to make your solution work.

As i continued googling, I also came across the "earlier" DAX function, which allows me to add a column easily. It is not done in the import like I asked, but does what i wanted by keeping the amount of data imported to the original single table set.

EARLIER(, )

the formula I used is this:

NextOrderDate = 
  CALCULATE(
      MIN(Orders[OrderDate]),
      FILTER(
          Orders,
          Orders[Item] = EARLIER(Orders[Item]) && 
          Orders[OrderDate] > EARLIER(Orders[OrderDate])
      )
   )
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ArbyWon