Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have table in which I want to keep rows which contains "null" and In time is greater than 05:20 from "InTime" column. And exclude rest other rows. Can anyone please help me.
Current Table:
| User Name | InTime | OutTime |
| Steve | null | 16:00 |
| Lucy | 5:34 | 17:10 |
| James | null | 18:05 |
| Mike | 1:30 | 14:00 |
| Eric | 0:30 | null |
| Vincent | 6:00 | 17:30 |
Expected result:
| User Name | InTime | OutTime |
| Steve | null | 16:00 |
| Lucy | 5:34 | 17:10 |
| James | null | 18:05 |
| Vincent | 6:00 | 17:30 |
I have tried with conditional column using OR function and advance filtering for InTime column using AND function but not getting expected results.
Solved! Go to Solution.
Hi @ShreyasK , you can use this measure:
In_Time = if(MAX('Table'[InTime])>TIME(5,20,0) ||
ISBLANK(max('Table'[InTime])),1,0)
Follow, insert the measure "In_Time", in Filter, and give it the value 1, like the image:
Best regards
Hi @ShreyasK , you can use this measure:
In_Time = if(MAX('Table'[InTime])>TIME(5,20,0) ||
ISBLANK(max('Table'[InTime])),1,0)
Follow, insert the measure "In_Time", in Filter, and give it the value 1, like the image:
Best regards
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 57 | |
| 44 | |
| 42 | |
| 20 | |
| 18 |