Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I have a single table with all my workers list in it. There is att_emp_id column and also att_date column. It is a biometric device data.
I need to check if the id is available one month before today. That is i want to find who has joined this month. how do i do it.
Solved! Go to Solution.
Hi @santoshrnath,
You can try to use below measure to check the id if it joined one month ago:
Is Join One Month Ago= var currDate=MAX(Table[att_date]) var currId=max(Table[att_emp_id] Return IF(CountRows(FILTER(ALL(Table), Table[att_date]=Date(Year(currDate),Month(currDate)-1,Day(currDate)&&Table[att_emp_id]=currId)))>0,TRUE(),BLANK())
Use att_emp_id and the above measure to create table visual.
Regards,
Xiaoxin Sheng
Hi @santoshrnath,
You can try to use below measure to check the id if it joined one month ago:
Is Join One Month Ago= var currDate=MAX(Table[att_date]) var currId=max(Table[att_emp_id] Return IF(CountRows(FILTER(ALL(Table), Table[att_date]=Date(Year(currDate),Month(currDate)-1,Day(currDate)&&Table[att_emp_id]=currId)))>0,TRUE(),BLANK())
Use att_emp_id and the above measure to create table visual.
Regards,
Xiaoxin Sheng
User | Count |
---|---|
101 | |
90 | |
78 | |
70 | |
69 |
User | Count |
---|---|
110 | |
96 | |
95 | |
74 | |
71 |