Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RAKESH1986
Helper II
Helper II

Remove Time entry less than 5 am

Hi,

 

Could you help me how I can remove the row entry which is less than 5 am...or between 12 am to 5 am?

 

for any particular date, I want to remove these entries.

 

 

RAKESH1986_0-1678716577889.png

 

thanks

 

 

1 ACCEPTED SOLUTION
KNP
Super User
Super User

If you actually want to remove the rows, just filter them out...

 

KNP_0-1678731796824.png

 

If you want to replace them, the easiest way is to add a new conditional column...

 

= Table.AddColumn(#"Changed Type", "Custom", each if [Access_Time] >= #time(0,0,0) and [Access_Time] < #time(5,0,0) then null else [Access_Time])

 

Then delete the old and rename the new if necessary.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

View solution in original post

1 REPLY 1
KNP
Super User
Super User

If you actually want to remove the rows, just filter them out...

 

KNP_0-1678731796824.png

 

If you want to replace them, the easiest way is to add a new conditional column...

 

= Table.AddColumn(#"Changed Type", "Custom", each if [Access_Time] >= #time(0,0,0) and [Access_Time] < #time(5,0,0) then null else [Access_Time])

 

Then delete the old and rename the new if necessary.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors