Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
MS90
Creator
Creator

Need to find New record for the specific date or is it a existing record from yesterday

 I want to Create  a new field which identifies if a record  is a  New record for the specific date or is it a existing record from yesterday 

IMG_20240808_170507795.jpg

 

 

Labels (4)
2 Replies
QFabian
Specialist III
Specialist III

@MS90 , here you have one script option  :

QFabian_0-1723139050661.png

 

Data:
Load * Inline [
Order No, ID NO, Start Date
1, AZ, 8/8/2024
2, AY, 1/8/2024
3, ZC, 02/8/2024
4, VB, 5/8/2024
5, RE, 7/8/2024
6, FI, 10/8/2024
];
 
New_Field:
Load
[Order No], 
 
    if([Start Date] = today(), 
'Todays Record',
if([Start Date] < today(),         
    'Past Record',
        'Future Record')) as New_Field
Resident Data;
 
 
exit script; /*
QFabian
MS90
Creator
Creator
Author

Thank you,

But I can't do this on date field I need to do this on Idno