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

set analysis syntax not working in a new dasboard

     Hi All

I have used a set anylysis syntax as below in the existing dashboard. This syntax works fine.

sum({$<[My Date]={"$(=date(MAX([My Date])))"}>}[total pass])

But now when i am trying to create a new dashboard and use the same syntax its not working. Just showing me '-' in all the  rows instead of the data. I think i have checked all the other options in the properties for this expression but no no luck.

anybody faced the same issue or any idea on this would really help.

Thanks,

Ashish

2 Replies
stigchel
Partner - Master
Partner - Master

Then [My Date] probably is not a proper date. Try with

sum({$<[My Date]={"$(=Max(date(date#([My Date],'YourDateFormat'))))"}>}[total pass])

jonathandienst
Partner - Champion III
Partner - Champion III

One can only guess with the limited information you provided. The problem could be

  • [My Date] field does not exist, or is all null
  • [My Date] is not a proper date (so Max(My Date) does not work properly)
  • [total pass] does not exist, or is populated only with nulls
  • Something is wrong with the association in the data model between these two field and/or the dimension
Logic will get you from a to b. Imagination will take you everywhere. - A Einstein