Show Column If not working as expected in Pivot Table
I am having trouble getting the show column if function to work as expected.
I have one field "Month Year" as the columns in my pivot table.
There is a flag field that has these values (straight table to illustrate the values, not the pivot I want to modify):
As of now, the columns in my pivot table show every date:
I would like to only show columns where the value of the flag for each date is 1.
However, when I use this formula:
if(Rolling12Flag=1,1,0) or if(Rolling12Flag='1',1,0), the output only shows a blank in the column (all a single column with no field) and the data tab gives me this: