Hi, I would like to create a column in the powerpivot data table that will change upon updating a master date or criteria.
I have a functioning If statement that works well: =IF([year]=2010,[count],0)
Which provides the result that I need when I hard code the number 2010 into the if statement as shown above. However, I want to be able to change the '2010' portion of the if statement by changing a reference field in a table or excel tab within the workbook. The variable that will replace '2010' could be a year, month, date, or other criteria.
Any suggestions?
Thank you
Mike
I have a functioning If statement that works well: =IF([year]=2010,[count],0)
Which provides the result that I need when I hard code the number 2010 into the if statement as shown above. However, I want to be able to change the '2010' portion of the if statement by changing a reference field in a table or excel tab within the workbook. The variable that will replace '2010' could be a year, month, date, or other criteria.
Any suggestions?
Thank you
Mike