Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

New Contributor

Filter/Field edit on NPrinting

good day

currently I have an published report that pulls data for the current month.

the filter field being used is =only({=$(=Date((Today() )))}YearMonth)

I'm relatively new to nprinting and sql, how can this formula be changed to get the Prev Months data.

for example it runs now from 1Dec to 31 Dec

but the require 1 Nov to 30Nov


2 Replies
Esteemed Contributor III

Re: Filter/Field edit on NPrinting

create a  a max month-1  in the data and  you will get the last month data

same use that column in filter  then you will get the expected data

Contributor II

Re: Filter/Field edit on NPrinting


You can add this expression in the filter condition


this will take to prev month data.

Community Browser