Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a straight table in which I want to only show the next ten events based on date. Is this possible within the structure of a straight table and if so, what is the expression? Dimension is EVENTDTE
May be this
Only({<EVENTDTE = {"$(='>=' & Date(Today()) & '<=' & Date(Min({<EVENTDTE = {'>=$(=Date(Today()))'}>}EVENTDTE)))"}>} SOLDQTY)
You can either use calculated dimension to do this or use set analysis... both should be able to handle it... but I would try to do this via set analysis just because it tends to give better performance
Thank you, how would the expression be structured?
What is your current expression?
=SOLDQTY
May be this
Only({<EVENTDTE = {"$(='>=' & Date(Today()) & '<=' & Date(Min({<EVENTDTE = {'>=$(=Date(Today()))'}>}EVENTDTE)))"}>} SOLDQTY)
This makes the sold quantities appear as a null value. The aim is to have only the first ten event dates show, relative to today.
My bad, try this
Only({<EVENTDTE = {"$(='>=' & Date(Today()) & '<=' & Date(Min({<EVENTDTE = {'>=$(=Date(Today()))'}>}EVENTDTE, 10)))"}>} SOLDQTY)
There might be some syntax issue, but the idea to look for EVENTDUE which are greater than today and less than the next 10 EVENTDUE days from today
Thank you