Click in the JOIN GROUP button in Home to follow our news and attend our events!
Hi Guys,
Requirement:
Input File : Excel file with 10 columns
Condition : If total row "count >= 5" then
If TRUE --> Write output with all 10 columns
If FALSE --> Write output with 9 columns. ( I have to remove one column, in this case)
Output file should be only one file.
Solution tried:
I have used Filter and select tool then at the end if i use union not able to get only 9 columns.
PFA screenshot,
Please see a way , we can differentiate the file based on row filter...
yeah, that is the problem, I don't want those null columns in the end output
Try using Dynamic Select Tool From Developer Section.. Its helps you to select the columns in dynamic fashion.
But this dynamic selection is allowing based on the only on "Data Type".
So, In my requirement, it will not help
You can write a formula in Dynamic Select Tool, Check for the drop down. In That Formula you have to write for the logic to pick your columns....
This would work in your case.