I have a pivot table created from a table on a different worksheet.
My first row is a field called Working Week followed by 2 other fields.
I am trying to sort the Working Week columns numerically from lowest to highest but the pivot table sees the data as text and is not sorting as I would expect.
The column in the table is a formula based value
Is there anyway to get the pivot table to sort correctly, I have the same setup in another workbook and it works as expected but can't for the life of me figure out why it's not sorting correctly.
Pivot Table Sort
Source Data
My first row is a field called Working Week followed by 2 other fields.
I am trying to sort the Working Week columns numerically from lowest to highest but the pivot table sees the data as text and is not sorting as I would expect.
The column in the table is a formula based value
=IF([@Date]<>"",IF(WEEKNUM([@Date],15)=53,1,WEEKNUM([@Date],15)),"")
and works as expected as I have set the category to number.Is there anyway to get the pivot table to sort correctly, I have the same setup in another workbook and it works as expected but can't for the life of me figure out why it's not sorting correctly.
Pivot Table Sort
Source Data