BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
mhamlett
Quartz | Level 8

what i am doing seems simple enough but not able to get a value displayed.

 

i have a table with sales, salesdate(this is a normal date field with month day and year)

their is one record for each day.

 

i want to show in a table objecty , current day and previous day sales and of course Diff and % Diff.

the relative period calculation seems that it would allow me to create a new measure for yesterdays sales.

 

simply....

RelativePeriod(_Sum_, 'sales'n, 'salesdate'n, _Inferred_, -1, _Full_, {Date})

 

cannot get any value to display.

thanks for your help

1 ACCEPTED SOLUTION

Accepted Solutions
mhamlett
Quartz | Level 8

i submitted a bug request.

sas does not call this  a bug even tho the documentation states it works.

they call it a feature request.

sas support has put my name in as a requestor of the feature.

 

problem not resolved but in the queue.

View solution in original post

2 REPLIES 2
mhamlett
Quartz | Level 8

from everything i read and have seen, this should work, but doesnt.

noone seems to be able to resolve the issue or maybe noone needs yesterdays measures.

the documentation states quite plainly what this feature does, how to code it and what it displays.

 

i will report as a bug to sas support.

 

mhamlett
Quartz | Level 8

i submitted a bug request.

sas does not call this  a bug even tho the documentation states it works.

they call it a feature request.

sas support has put my name in as a requestor of the feature.

 

problem not resolved but in the queue.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 2 replies
  • 1338 views
  • 0 likes
  • 1 in conversation