Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Im making an applications with different tables with many data. Lets look at his example what causes the trouble (This is just an example, with dummy data to make the problem clear):
What i want is to show the ID's that not have ended, with the amount of days from the start. So today() - Begin date where the ID dont have an End status. If i do a not wildmatch on the word 'End' it still shows the ID cause of the same ID numbers with another status.
Does somebody know an solution for this?
*Im using the personal edition, so i can't open QVW files from others.
Hi dbuijsman,
You will have to use set analysis for this expression:
Min({<ID = ID - {"=Count({1<STATUS={'End'}>} ID) > 0"}>} BeginDate)
This way you will have the minimum begin date for all IDs, except for those which have at least one STATUS = End. From this, you can substract from Today() to have the duration in days:
JG
Hi dbuijsman,
You will have to use set analysis for this expression:
Min({<ID = ID - {"=Count({1<STATUS={'End'}>} ID) > 0"}>} BeginDate)
This way you will have the minimum begin date for all IDs, except for those which have at least one STATUS = End. From this, you can substract from Today() to have the duration in days:
JG
Thanks it worked!