Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Generate rows from beginning of Reporting Year to Current Reporting Month

DRA2353
6 - Meteoroid

Hi All,

 

I'm new to Alteryx and I'm having a difficult time completing what I thought was a pretty simple task. Reporting year always starts December of the previous year. The reporting month is always two months prior to current month. Can you please suggest a way to generate the target rows shown below?

 

Source Data :

 

Current Date Start Date Reporting Month YearStart of Reporting Year
10/17/201810/1/20188/1/20182017-12-01

 

Target:

Current Date Start Date Reporting Month YearStart of Reporting YearReporting Quarter
10/17/201810/1/20182018-08-012017-12-012017Q4
10/17/201810/1/20182018-08-012018-01-012018Q1
10/17/201810/1/20182018-08-012018-02-012018Q1
10/17/201810/1/20182018-08-012018-03-012018Q1
10/17/201810/1/20182018-08-012018-04-012018Q2
10/17/201810/1/20182018-08-012018-05-012018Q2
10/17/201810/1/20182018-08-012018-06-012018Q2
10/17/201810/1/20182018-08-012018-07-012018Q3
10/17/201810/1/20182018-08-012018-08-012018Q3

 

Thanks!

2 REPLIES 2
jdunkerley79
ACE Emeritus
ACE Emeritus

You need a couple of tools to do this.

 

Use a generate rows tool to make month entries for each month

2018-10-17_20-57-53.png

Then a formula tool to construct the quarter description.

2018-10-17_20-59-00.png

 

Sample attached.

DRA2353
6 - Meteoroid

Awesome! Thank you so much.

Labels