Hi,
I do have a question based the "Dynamic Select" tool. I have the following column:
and i like to have only the column until todays quarter "Q22022".
Does anyone know how to make this happen?
Thanks,
Ali
Maybe super long-winded but this seems to get the job done and will be dynamic if you run it in future.
Hey @AliEB,
What I think you would want to do is transpose then filter the column names followed by cross tab:
what do you mean by "only the column until todays quarter "Q22022"." do you just mean the latest column?
HTH,
Ira
This actually is near to the solution I need. The problem is that I have to aggregate at the end and if I concatinate it will be listed everything into one row, but I need everything seperated... Do you have a solution for this?
I do not need the sum. Right now after aggregation, the value of the column is comma seperated. I don't need that, I want to have every value in one cell. Right now it looks like this:
You could add a split to columns tool and select split on rows, using the comma as a delimiter.
@AliEB what you need to do is have an ID to group each row with in the cross tab tool, that will stop the concatenation.
Transpose, identify current year quarter, then filter
IF DateTimeFormat(ToDate(DateTimeNow()),'%m')="01" THEN "Q1"+ToString(DateTimeYear(DateTimeNow()), 0) ELSEIF DateTimeFormat(ToDate(DateTimeNow()),'%m')="02" THEN "Q1"+ToString(DateTimeYear(DateTimeNow()), 0) ELSEIF DateTimeFormat(ToDate(DateTimeNow()),'%m')="03" THEN "Q1"+ToString(DateTimeYear(DateTimeNow()), 0) ELSEIF DateTimeFormat(ToDate(DateTimeNow()),'%m')="04" THEN "Q2"+ToString(DateTimeYear(DateTimeNow()), 0) ELSEIF DateTimeFormat(ToDate(DateTimeNow()),'%m')="05" THEN "Q2"+ToString(DateTimeYear(DateTimeNow()), 0) ELSEIF DateTimeFormat(ToDate(DateTimeNow()),'%m')="06" THEN "Q2"+ToString(DateTimeYear(DateTimeNow()), 0) ELSEIF DateTimeFormat(ToDate(DateTimeNow()),'%m')="07" THEN "Q3"+ToString(DateTimeYear(DateTimeNow()), 0) ELSEIF DateTimeFormat(ToDate(DateTimeNow()),'%m')="08" THEN "Q3"+ToString(DateTimeYear(DateTimeNow()), 0) ELSEIF DateTimeFormat(ToDate(DateTimeNow()),'%m')="09" THEN "Q3"+ToString(DateTimeYear(DateTimeNow()), 0) ELSE "Q4"+ToString(DateTimeYear(DateTimeNow()), 0) ENDIF
@IraWatt I created a test workflow, where you can see the point where i am stuck
@DataNath I had to add the "Tile" tool to increment based on the "name" which is the date.