Hi,
I m trying to create a calculated fieldfor a report. I have to create an item with a range and I using If else boolean for this. Here, i have to get the output as numeric with combination of date and numeric. i m not able to create an item with date and range between numeric where as the ouput should be a nuemeric. Please suggest..
Hello,
Can you provide some more information about the calculated expression that you want to create?
Do you need to compare numerics and dates?
It wouldn't be as simple as something like this would it?
IF ( 'Date'n BetweenInclusive('7MAR2017'd, '28MAR2017'd) ) RETURN 'Profit'n ELSE .
Thanks,
Sam
Yes..
Can someone solve this ??
Thanks! Yes, I tried it and its working.
Great! Thanks for following up.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.