I am working with dates that I I have *** a numeric value. I am wanting to get a sum of values between two date ranges and divide that by another sum between to date ranges to get a value, that is ultimately a percentage.
Here is how I wrote it, but getting an error:
80Percent: IIF([YM] Beteen "201609" And "201701"),Sum(CountOfVIN))/IIF([YM] Beteen "201609" And "201703'),Sum(CountOfVIN))
Here is how I wrote it, but getting an error:
80Percent: IIF([YM] Beteen "201609" And "201701"),Sum(CountOfVIN))/IIF([YM] Beteen "201609" And "201703'),Sum(CountOfVIN))