Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.

filter on latest date from the table

I want to apply latest date filter in where clause of my explore but its not working. I tried using below code

explore: ci_details_item_location {
from: ci_base_ads
sql_always_where:load_dt=max(load_dt) ;;
}

 

could you please help me with the same

 

0 2 118
2 REPLIES 2

Perhaps sql_always_having is what you need here?

yes. I am trying to filter on latest data 

Top Labels in this Space
Top Solution Authors