hi Expert
i created a yearly reporting flow based on quarter but due to error in name the value is stuck in a flow. Is there any way to make the column name dynamic which changes according to the month.
Two ways - 1) use a macro and transpose this beforehand. Your new column will now be [name] and your sum column will be [value] (normal way).
2) update the column you are summing by using a batch macro into your summarize tool where you change the field you are summing. very difficult. if syntax is off your workflow will crash.
I'd say stick with one. make sure you are transposing your dynamic columns and make sure things like branch/region name are key columns.
Do you have any sample as i am new to this macro?
The Dynamic Rename tool allows you to rename a column name dynamically.
It supports various configuration modes -
1) FORMULA - you can write a formula to give a column name. (In your eg, you can use Datetime functions to get year and quarter and rename column.
If you can also share the desired output, I can build a sample workflow for you.
Regards,
Shreyansh
Hi @pokhan27
Apply the final cross tab after your summarize tools instead of before. In the summarize tools, Group By Region Name and Quarter. You can also combine the two summarize tools into one like this
Do the cross tab after this
Dan