ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Calculating Previous month Number from current month

shivanand612
Meteoro

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 RESPOSTAS 10
Luke_C
17 - Castor
17 - Castor

@shivanand612 

 

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

Rótulos
Autores com maior número de soluções