As the data in a warehouse table is updated, the requirement is to create a dynamic filter to filter out the attribute element with the maximum ID. For instance, as the data in a warehouse table is updated each month, the user wants to create a dynamic month filter to get the data of the latest month instead of modifying the filter manually each month.
Using the "Month" attribute as an example, follow the steps below to create a dynamic filter in the Strategy Tutorial project:


The following SQL will be generated to filter out the latest month when adding the filter above to a report:
