Hi,
is it possible to remove Columns by Condition?
KeepWantedColumnNamesWithValues.zip (8.0 KB)
It would be great, if the remove/Select Column Actions will get Partameters
Can I do it with a trick (Rename by lookup âŚ)
Regards,
Adrian
Hi,
is it possible to remove Columns by Condition?
It would be great, if the remove/Select Column Actions will get Partameters
Can I do it with a trick (Rename by lookup âŚ)
Regards,
Adrian
Hi Adrian,
you can already do this with EasyMorph. You can use the âTable metadataâ action to produce a list of columns, filter it as necessary (e.g. using a condition), and the use the âSelect by lookupâ action to keep only the necessary columns.
Iâve updated your example to work like that.
Hi Dmitry,
really great, thanks
But now i have another problem in my process if i want to stay generic
Only certain rows should be returned for one wanted column ("where WantedCol1=âWantedVal1â)
The table should be filled down for the respective value. Somehow I canât get there
is it possible to âfilldownâ the wanted Columns without specifying the column name, so that the Outputable looks like this picture
That would be great because it would be the solution for my last post:
best regards and thanks again,
Adrian
In this case the âIterate columnâ action should help.
See the updated example below.
KeepWantedColumnNamesWithValues (3).zip (8.8 KB)
Hi Dmitry,
I will try this. Thank you for this great support
Best regards,
Adrian
Youâre welcome
Hi Dmitry,
unfortunately it donât works.
The âgeneric Filldownâ should start after the first match of âWantedVal1â and only Rows with âWantedVal1â. So WantedVal1 (or âWantedVal2â) should be a generic Filter in Filldown-Iteration.
Your solution gifs me OutputTable in Top but it should be the bottom one.
Sorry i was 3 days out, Therefore I could test only now.
regards,
Adrian
Hi,
here another example of the same problem.
I would like to fill the column with filldown, but only if a certain criterion is met.
In the example, only the area should be filled with the value until the criterion is no longer met or changes (only Data in Green Box should me modified)
FillDownFromAboveDependingValue.morph (4.3 KB) FillDownFromAboveDependingValue.zip (9.9 KB)
I hope this example is better for understanding my Problem.
best regards,
Adrian
Hi Dmitry,
it works, thanks. I also tried with filldown, but dontât wanted to change existing data. But it should work, because data is rewritten to old value after filldown.
By the way. I sometime miss a âpreviousâ or âaboveâ-Funktion
Is it planed?
best regards and thanks again,
Adrian
Above/below values can be obtained using the âShift columnâ action.
ok, thank you, iâll test it