BookmarkSubscribeRSS Feed
FelixT
Calcite | Level 5

Hi,

I have been struggling with a formula for the past 3 weeks. 

 

Here's the situation:

 

I have a data table with data from 2005 to 2020. I need to extract a single week data from the table so it can become my report. Here's a capture.

FelixT_0-1605558000602.png

I want a formula Excel equivalent to a SUMIF(data dates, < my week, SumWeek) in the column Sum Week T-1.

 

Right now I have this formula that works when no filters are applied. 

FelixT_1-1605558190764.png

 

But when I applied the filters, it starts to sum only on the first row, not the entire data set.

 

Thank you for your help.

 

Felix

 

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 366 views
  • 0 likes
  • 1 in conversation