Jump to content

how to set a filter to an information link for yestarday


Enkeled Kanaj
Go to solution Solved by Vanessa Virginia Sucre Gonzalez,

Recommended Posts

On 7/11/2024 at 11:08 PM, Olivier Keugue Tadaa said:

Thanks for your feedback. 

 

11 minutes ago, Vanessa Virginia Sucre Gonzalez said:

Hi,

Assuming you have a column within your data table with "today's date" (ex. Now()), you can create a filter element as follow:

image.thumb.png.f8fa03ef07c40acaff4e0dac9f4c4986.png

Where Today holds today's date.

Now, Add the filter to your information link:

image.thumb.png.9c5cc66ab0ff62a76ea1f8a7e5904f3a.png

 

Hi Vanessa,

 

How can I create the today as filter because I do not have it?

This trick works for me but I do not like it:

SELECT
   D1."ERBS" AS "ERBS",
   D1."DATE_ID" AS "DATE"
FROM
   "DC_E_ERBS_EUTRANCELLFDD_DAY" D1
WHERE
   (date_id = today(*)-1)
   AND <conditions>

Link to comment
Share on other sites

  • Solution

Hi,

Just go to the main panel, select filter

image.thumb.png.7691fa3080a142e37331436df0041438.png

Now, add the column directly from the data source table:

image.thumb.png.176565d6af44750dbbb07a523333da27.png

You have to change the expression (1% is mandatory, it's your column's placeholder).
I see you are using Oracle, so the expression would be %1 - 1

image.thumb.png.29170c961a2d6b4f894c194de53afb47.png

 

Now you save the filter, and add it to your information link:

image.thumb.png.dda4c3fde7917ab852865059fa0f7879.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...