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: 
Ja4
Contributor II
Contributor II

Filter a Straight Table Visualisation

I have a straight table visualisation where I'm trying to show a summary of jobs completed yesterday .

I have a calculated dimension:  If(actstart >= Floor(Today()-1) and actstart < Floor(Today()), -1, 0) as DateCheck,

so if DateCheck = minus 1, just show all the data for yesterday.

Other Fields include [job number] [Location] [duration]

I even have a variable vShowActualShartDate,  =date(today()-1)

But nothing seems to work, please help.

Labels (1)
1 Solution

Accepted Solutions
YuriMary
Contributor
Contributor

To filter your straight table for jobs completed yesterday, use the following expression in your calculated dimension:

=If(DateCheck = -1, [job number], null())

This way, it only shows data for yesterday when DateCheck is -1. Raiderlinkttu

 

View solution in original post

1 Reply
YuriMary
Contributor
Contributor

To filter your straight table for jobs completed yesterday, use the following expression in your calculated dimension:

=If(DateCheck = -1, [job number], null())

This way, it only shows data for yesterday when DateCheck is -1. Raiderlinkttu