iowabuckmaster
Technical User
Fed Qtrs run 1 qtr later then State Qtrs.
In a table. I have a field [Reporting Period] from data entry that contains the State Qtrs. In a query, I have a field for Fed Qtrs that I want filled automatically from the State Qtrs value. I have a rather large expression that works but is there a better way. Here is my new field called Fed Reporting Period.
Fed Reporting Period: IIf([Reporting Period]="Qtr1 Exp","Qtr4 Exp",IIf([Reporting Period]="Qtr2 Exp","Qtr1 Exp",IIf([Reporting Period]="Qtr3 Exp","Qtr2 Exp",IIf([Reporting Period]="Qtr4 Exp","Qtr3 Exp",IIf([Reporting Period]="Budget","Budget",IIf([Reporting Period]="Qtr1 Rev","Qtr4 Rev",IIf([Reporting Period]="Qtr2 Rev","Qtr1 Rev",IIf([Reporting Period]="Qtr3 Rev","Qtr2 Rev",IIf([Reporting Period]="Qtr4 Rev","Qtr3 Rev"
))))))))
I had built a 2 column table with with the first column filled in with the State qtr and then in the 2nd column the matching Fed Qtr. Thinking I could use something similar to the vlookup in excel. Couldn't find anything. I just feel like I am missing something simple. Any advise? Please.
After this I have to figure out the correct Fed FY after user enters the State FY. ? Any advise? Please.
In a table. I have a field [Reporting Period] from data entry that contains the State Qtrs. In a query, I have a field for Fed Qtrs that I want filled automatically from the State Qtrs value. I have a rather large expression that works but is there a better way. Here is my new field called Fed Reporting Period.
Fed Reporting Period: IIf([Reporting Period]="Qtr1 Exp","Qtr4 Exp",IIf([Reporting Period]="Qtr2 Exp","Qtr1 Exp",IIf([Reporting Period]="Qtr3 Exp","Qtr2 Exp",IIf([Reporting Period]="Qtr4 Exp","Qtr3 Exp",IIf([Reporting Period]="Budget","Budget",IIf([Reporting Period]="Qtr1 Rev","Qtr4 Rev",IIf([Reporting Period]="Qtr2 Rev","Qtr1 Rev",IIf([Reporting Period]="Qtr3 Rev","Qtr2 Rev",IIf([Reporting Period]="Qtr4 Rev","Qtr3 Rev"
I had built a 2 column table with with the first column filled in with the State qtr and then in the 2nd column the matching Fed Qtr. Thinking I could use something similar to the vlookup in excel. Couldn't find anything. I just feel like I am missing something simple. Any advise? Please.
After this I have to figure out the correct Fed FY after user enters the State FY. ? Any advise? Please.