The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
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.
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