Hey, hopefully someone can help me.
I’m building a report and i’m stuck with a formula. For just one cell i have the formula:
=Count([Cust].[CustomerNumbers] Where([Cust].[Yearweek]=[PreviousWeek]))
The formula of [PreviousWeek] works in other sections and gives the value “201710” as a number.
The formula stated above gives “0” because of the reference in the Where clause. If I edit [PreviousWeek] to “201710” (without quotes) it works and gives me the right value. The problem is that I don’t want it hardcoded. I need to get the formula to work
Can anybody help me with this?
ndam (BOB member since 2016-11-09)