Hi All,
Please refer attached sheet and let me know, more appropriate approach or method to get the last transaction date from each given month.
I tried to use if...else ... construction.
An alternative means would be to find the max date using Group By in PQ. Then joining that query back on the original source data as shown in the attached. I believe your solution is quicker.
I don't know if it matters, or will ever happen, but if there is more than one transaction on the latest day of the month, yours (@MBS ) will only show one of them. Alan's will show all of them.
In the attached a couple of other ways.