Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Data manipulation using calendar interface

Polite123
8 - Asteroid

Hi Team,

 

Need quick help on below topic:

 

I have data in one columns in the form of quarters Q1,Q2,Q3,Q4.

I have created new column of Month by converting quarter to particular month i .e. March,June,Sep,Dec etc.

Now my requirement is that whenever I select a date from particular quarter using calendar ,it should filter data in Month column corresponding to previous quarter.

 

For example:

Input data:

 

QuarterMonthValue
Q1March3
Q1March4
Q2June5
Q3Sep6
Q4Dec8
Q4Dec7

 

Using calendar interface, I select one date from Dec month

 

Output:(Need previous quarter data)

 

QuarterMonthValue
Q3Sep6
4 REPLIES 4
FinnCharlton
13 - Pulsar

Hello,

Here is an app that does this. Hope this helps

FinnCharlton_0-1673000912329.png

 

binuacs
21 - Polaris

@Polite123 One way of doing this

 

binuacs_0-1673001588771.png

 

Polite123
8 - Asteroid

Hi @FinnCharlton ,

 

Thanks for the quick reply.

But the app seems to be working only for Dec.

When I select Sep, I am getting no data.

It is more hard coded.

Do we have any alternative solution to make it more dynamic in nature using calendar

FinnCharlton
13 - Pulsar

@Polite123 The app is working in every month for me? Maybe the < and > operators need changing to <= and >=? The only hard coded part of this app is the year 2022, which I added as you have no Year field in your data. I have attached a fully dynamic version.

Labels