Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I have a small problem. Using QV 10,0. I would like to not show today (but every day in the month before today) when opening a report. I know that I can make a trigger when opening the report. And I have already a trigger on month ( = month(today()) ).
I have tried to use the following in a new trigger on day:
=day (before(today()))
=day (not(today()))
=day (<today())
=day (today()-1)
But non of these is giving me a correct result.
If I use = day (today()) then it will show today, but how do I exclude today?
Hi all
Now I got the solution. I only use triggers on open report. 3 triggers I need.
First choose: "Select in field" then "Field" = Date and "Search String" = Date(today(),'YYYY-MM-DD')
Second choose: "Select Excluded" then "Field" = Date
Third choose: "Select in field" then "Field" = Month and "Search String" = =month(today())
Have you considered putting an advanced search in a bookmark (such as =Date < today() ) and then activate the bookmark and the associated advanced search on entry of app or a relevant tab through an action?
Hi
No I have not. but how do you make the bookmark variable? Or how/where do you define that the bookmark should be ( =Date < today() )??
If you don't need today at all I would solve it in the loading script.
Just load the data up to yesterday.
You can do this by adding something like the line below to your loadscript.
Where DATEFIELD < day(today()) ;
Hi
I have thought of that, but I need today. I do just not want to display it when my people is opening the file.
So I can only think of using a trigger. But It will not work for me
Hi Bjarne,
Have you tried an calculated dimension? That should work imo.
Just use something like below:
=IF(Date<Today(), Dimension)
And check Suppress when value is Null.
Hey hi,
In this case you can use set analysis...
=sum( {<Day = {"*"} - {$(=today())} Sales )
Hope this works...
Hi
Where do I see or find this calculated dimension?
Hi
Where do I see/find this set analysis?