Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
MatheusC
Specialist II
Specialist II

Restrict data to last date of each month

Hey,


I have a table that comes from the SQL Server database, I want to restrict the data in this table to bring the stock value on the last date of each month only. I want to do it directly in the SQL command.

Thanks

 

MatheusC_0-1689774703513.png

 

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
Labels (1)
1 Reply
BrunPierre
Partner - Master II
Partner - Master II

Hi, perhaps something along these lines.

LOAD ...
Where DateField = MonthEnd(DateField);
[BI_estoquedia]:
SELECT ...
FROM "bi_sense".dbo."BI_estoquw";