Forum Discussion
arkiboys2
1 year agoHelper IV
dataflow - if there is a row present
hello, in the dataflow gen2, there are several steps from navigation of the source all the way to pivot column. After the pivot, the step is to rename column. But the flow fails on this rename step...
- 1 year ago
I would add a dummy row with the necessary columns before that step, so that the step doesn't fail, and then I would filter away the dummy row afterwards.
- 1 year ago
I created a HelperRow which only has columns and no rows.
Then after the pivot step, I appended this helper row.
It seems fine now
thank you
lbendlin
1 year agoSuper User
use try ... otherwise ... to decide what to produce in this scenario.
arkiboys2
1 year agoHelper IV
you mean to have try catch inside dataflow gen2? is this the only way?
how is this possible?
thanks
- frithjof_v1 year agoCommunity Champion
You could add a dummy row.
However, do you want the dataflow to succeed if there is no data?
- arkiboys21 year agoHelper IVyes to succeed if there is no row. thanks
- frithjof_v1 year agoCommunity Champion
I would add a dummy row with the necessary columns before that step, so that the step doesn't fail, and then I would filter away the dummy row afterwards.