Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have the expression below which is working fine - but I also want to include all IDs where Field "MoveOff" is empty - is there a way to add these into my set analysis?
Count({<Dateon={"<31/10/2018"},MoveOff={">01/10/2018"}ID)
Thanks
If Eartag is an unique identifier for your table rows then you could use this expression:
Count({< Dateon= {"<$(=date('31/10/2018'))"}, Eartag = E( {< MoveOff={"<$(=date('01/10/2018'))"}>}) >}ID)
Cheers
Vegar
May be this
Count({<Dateon = {"<31/10/2018"}, ID = {"=MoveOff > MakeDate(2018) or Len(Trim(MoveOff)) = 0"}>} ID)
Another way:
Count({<Dateon={"<31/10/2018"},MoveOff={(">01/10/2018"|"=len(trim(MoveOff))=0"}>} ID)
- Marcus
With empty values it will work but not with NULL because if there is none value respectively NOTHING it couldn't be measured through itself - else an approach like in your example with measuring it with the help of a different field is needed.
- Marcus
Thanks for all the replies - I just can't get it to work though
Link to some sample data here I hope CountTest - don't seem to be able to attach excel file?!
If Eartag is an unique identifier for your table rows then you could use this expression:
Count({< Dateon= {"<$(=date('31/10/2018'))"}, Eartag = E( {< MoveOff={"<$(=date('01/10/2018'))"}>}) >}ID)
Cheers
Vegar