Hi,
Looking for your help with following.
I have Following table that has Date, Account ID, PLIs
There will be a date slicer in the report .The output that I am trying to achieve is mentioned in the "Expected Result Column, Which is basically the PLIs value, on the date when Account ID appeared in the table. According to date range selected using the date slicer.
This Table has been sorted by Account ID
Date | Account ID | ISL | Expected Result |
---|---|---|---|
08.03.2021 | 1000001 | 0-250 | |
08.07.2021 | 1000001 | 251-510 | 251-510 |
08.04.2021 | 1000002 | 0-250 | |
08.16.2021 | 1000002 | 0-250 | 0-250 |
08.05.2021 | 1000003 | 551-750 | 551-750 |
08.06.2021 | 1000004 | 751-1000 | |
08.08.2021 | 1000004 | 751-1000 | 751-1000 |
08.09.2021 | 1000007 | 0-250 | 0-250 |
08.10.2021 | 1000008 | 551-750 | 551-750 |
08.11.2021 | 1000009 | 0-250 | 0-250 |
08.12.2021 | 10000010 | 0-250 | 0-250 |
08.13.2021 | 10000011 | 551-750 | |
08.19.2021 | 10000011 | 551-750 | |
08.20.2021 | 10000011 | 251-510 | 251-510 |
08.14.2021 | 10000012 | 751-1000 | 751-1000 |
08.15.2021 | 10000013 | 0-250 | |
08.18.2021 | 10000013 | 0-250 | 0-250 |
08.17.2021 | 10000015 | 251-510 | 251-510 |
When sorting on Date Column : this will be the expected table:
Date | Account ID | ISL | Expected Result |
---|---|---|---|
08.03.2021 | 1000001 | 0-250 | |
08.04.2021 | 1000002 | 0-250 | |
08.05.2021 | 1000003 | 551-750 | 551-750 |
08.06.2021 | 1000004 | 751-1000 | |
08.07.2021 | 1000001 | 251-510 | 251-510 |
08.08.2021 | 1000004 | 751-1000 | 751-1000 |
08.09.2021 | 1000007 | 0-250 | 0-250 |
08.10.2021 | 1000008 | 551-750 | 551-750 |
08.11.2021 | 1000009 | 0-250 | 0-250 |
08.12.2021 | 10000010 | 0-250 | 0-250 |
08.13.2021 | 10000011 | 551-750 | |
08.14.2021 | 10000012 | 751-1000 | 751-1000 |
08.15.2021 | 10000013 | 0-250 | |
08.16.2021 | 1000002 | 0-250 | 0-250 |
08.17.2021 | 10000015 | 251-510 | 251-510 |
08.18.2021 | 10000013 | 0-250 | 0-250 |
08.19.2021 | 10000011 | 551-750 | |
08.20.2021 | 10000011 | 251-510 | 251-510 |