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

How to group measures by dimensions

pupmup
7 - Meteor

Hello,

 

I have a sample data set like the below. 

 

Sometimes, retailers announce sales before the official release date of a product.

 

I need to group up all the pre-release sales of a product in the database and include them in the release week entry.

 

RetailerProductProduct Release DateCurrent dateSales
AAXZ-1  Week10
AAXZ5
AAXZ + 1 Week5

 

End result :

 

A / A / Z - 15 sales

A / A / Z+1 - 5 sales

 

 

1 REPLY 1
danrh
13 - Pulsar

Something like this?

image.png

This assumes that your Product Release Date and Current Date fields are both already Date data types.  If not, you'll need to change them first.

 

Hope it helps!

Labels
Top Solution Authors