The data is about Users in an IT system and whether or not to terminate their access based on whether or not they’ve logged into the system within 90 days. The systems are PSM, PLT, PEW, PGR, PZA and then there is (PBI or PGW) and (PRP or PWM). These systems are looked at concurrently(this is where I want to join two rows together. (if they’ve been active in either one of these, then they are not to be terminated. They are only terminated if they’ve been inactive in both systems for 90 days.
Use the Merge_90 Days Query.
If 90 days not logon on.loggon Date = NULL then keep PSM
If 90 days not logon on.loggon Date of either PBI or PGW = NULL then keep
90 days not logon on.loggon Date = NULL then keep PLT
If 90 days not logon on.loggon Date of either PRP and PWM = NULL then keep
If 90 days not logon on.loggon Date of either PEW
If 90 days not logon on.loggon Date of either PGR
If 90 days not logon on.loggon Date of either PZA
If the user is a new user, i.e. if the difference between the valid from field and the 90 days not logon on.loggon Date <=90 days then keep.
I have managed to do this, however my solution is not sophisticated because ideally I should include the 90 days not logon on.loggon Date in my report so that the managers can show the users when they last logged on.
Without data it’s really hard to provide support on a PQ question.
Please supply an accompanying XLSX with the data for each table at the Source step level.
Do I understand correctly that the result of Merge_90 Days is the desired outcome?
Thanks.
Hi @SammiP, we aim to consistently improve the topics being posted on the forum to help you in getting a strong solution faster. While waiting for a response, here are some tips so you can get the most out of the forum and other Enterprise DNA resources.
Use the forum search to discover if your query has been asked before by another member.
When posting a topic with formula make sure that it is correctly formatted to preformatted text </>.
Use the proper category that best describes your topic
Provide as much context to a question as possible.
Include the masked demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details.
Hi there, I can’t really include the file in an Excel version because there was a lot of transformation done on it. Is the PBIx not visible to you. I definitely included it. I have found a work around. So please don’t worry.