In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Calculating Previous month Number from current month

shivanand612
7 - Meteor

Hello ,

 

I have an interesting case here. 

I have dataset which has 3 months of data and data includes Emp ID, Date, Emp Designation, State, Town, City. 

i would like to calculated the previous month # emp are there in it.

 

Note; if the emp got promoted then his designation will change also his location might change.

 

attached the data set here.

 

Thank you 

 

Data set:

DateEmp IDEMP DesignationStateTownCity
01-12-2024A1234Associate 1INDCAT1
01-12-2024B2345Associate 1HKGGKT1
01-12-2024C3456Associate 1BPJJPT1
01-12-2024D4567Associate 1DWRWRT1
01-12-2024E5678Associate 1SWRWRT1
01-12-2024F6789Associate 1UBLBLT1
01-12-2024G2583Associate 2SWEWET2
01-12-2024H3691Associate 3UBLBLT2
01-01-2025A1234Associate 1INDCAT1
01-01-2025B2345Associate 1HKGGKT1
01-01-2025C3456Associate 1BPJJPT1
01-01-2025D4567Associate 1DWRWRT1
01-01-2025E5678Associate 1SWRWRT1
01-01-2025F6789Associate 1UBLBLT1
01-01-2025G2583Associate 2SWEWET2
01-02-2025A1234Associate 1INDCAT1
01-02-2025B2345Associate 1HKGGKT1
01-02-2025C3456Associate 1BPJJPT1
01-02-2025D4567Associate 1DWRWRT1
01-02-2025E5678Associate 1SWRWRT1
01-02-2025F6789Associate 1UBLBLT1
01-02-2025G2583Associate 2SWEWET2
01-02-2025H3691Sr. AssociateINDCAT3
01-02-2025K1476Sr. AssociateSWEWET3

 

 

Result :

DateCM MonthPM Month
01-02-202597
01-01-202578
01-12-202480
10 REPLIES 10
Luke_C
17 - Castor
17 - Castor

@shivanand612 

 

Can you share your summarize tool configurations, results, and expected results?

Labels
Top Solution Authors