Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I have used below code to get quarter year
'Q' & ceil(month([Close of Business Date])/3) & '-' & Year(Date([Close of Business Date], 'YYYY')) as QuarterYear,
I want to sort like Q3-2022 Q4-2022 Q1-2023 Q2-2023 Q3-2023
how to do that
Best suggestion - don't use this method. Instead, use QuarterName([Close of Business Date]), or create a dual type containing the desired naming scheme as well as the underlying date.
If you must use this, you'll have to custom sort using something like Right(QuarterYear,4) & Left(QuarterYear,2).
Best suggestion - don't use this method. Instead, use QuarterName([Close of Business Date]), or create a dual type containing the desired naming scheme as well as the underlying date.
If you must use this, you'll have to custom sort using something like Right(QuarterYear,4) & Left(QuarterYear,2).
Hi MVP,
Thanks for reply. I want to show maxquarteryear sales in a table. I have created variable like Max( quarteryear) but it didnt help me.it is not showing max year quarter sales.Can you please help me on this