Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
mattphillip
Creator II
Creator II

Checking whether a student has re-registered

I'm hoping someone might be able to help. We have a database of student records which exports weekly and includes a date field. The database also includes a Student ID field and 'Occurrence' field which is an alphanumeric label which identifies intake points for students to re-register. What we'd like to do is find a way to check whether a student who is currently registered e.g Occurrence value = 'E1', date = '01/09/2023', has re-registered in a subsequent export e.g. Occurrence value = 'E2', date = '01/02/2024'

We used to to this manually with vlookups in excel but we'd like to automate this if possible, with the check value added to a new field called 'Re-Registered' = 'Y/N'.

To complicate matters slightly, certain students can take a study break for one intake, as such we'd need to be able to check whether a student from 'E1' may have re-registered in 'E3' for example.

Any help would be most appreciated.

Thank you.

Labels (4)
2 Replies
Rohan
Partner - Specialist
Partner - Specialist

Hi Matt,

Try:

Datecheckmap:

mapping load 

StudentID&'|'&IntakeID as Key,

Date;

Load 

StudentID,

IntakeID,

min(Date) as Date

From Table group by  StudentID, IntakeID;

 

Table :

Load *,

if(Date>first_intake_Date,'Re-register','New Intake') as Flag;

Load *,

ApplyMap('Datecheckmap',StudentID&'|'&IntakeID,'N/A') as first_intake_Date

From Table;

 

 

Regards,

Rohan.

traemilietw
Contributor II
Contributor II

When it comes to automating processes, like checking whether students have re-registered, technologies such as AI can greatly simplify the task. For instance, creating a script or database that automatically analyzes fields (Student ID, Occurrence, Date) could save you time and prevent errors that often occur with manual data entry. On a similar note, https://customwriting.com/ai-essay-writer offers a comparable level of automation but for academic tasks. For students, this means complex assignments like essays or research papers can be completed quickly, efficiently, and without unnecessary stress. Thanks to modern technologies, including artificial intelligence, the platform analyzes your requirements and delivers personalized solutions tailored to your needs. Instead of manually dealing with Excel files or searching for complicated optimization methods, you can trust professionals or automated tools to handle the heavy lifting. And when it comes to academic work, reliable resources like customwriting.com are the way to go. It's the perfect choice for students who want to focus on learning and improve their college performance without wasting extra time. So, automation can streamline not only your database management but also your studies!