Hi Vivek Hyalij,
I can think of two Scenarios here :
Scenario 1:
If you want to show data from the current Day to Yesterday's Start of the day . You can make use of solution given by Roy Veenvliet.
Scenario 2:
If you want to show data of last 24 hours from the CurrentDate time you can make use of Mendix xpath token :
[%DayLength%]
Mendix Docs for you Ref:
https://docs.mendix.com/refguide/xpath-keywords-and-system-variables/#33-time-related
Example :
[ DateRegistered < [%CurrentDateTime%] and
DateRegistered >'[%CurrentDateTime%] - 1 * [%DayLength%]']