cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cactus26 Helper I
Helper I

Measure for particular week based on data of whole table

I would like to create measure to divide the sum of the amount sold until now (so consider whole table) for the distinct items in particular week.

 

Input

NumberWeekNumberQuantity
175
174
182
284
292
591

 

Output: For Week 9; sum of quantity=7

NumberWeekNumberQuantity
284
292
591

 

Thanks!

1 REPLY 1
Microsoft
Microsoft

Re: Measure for particular week based on data of whole table

@Cactus26,

Based on that above sample data, I am not quite clear about your logic for Weeknumber 9. What is the result do you want to return for WeekNumber 7 or WeekNumber 8?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors