Forum Discussion
sjpathak
8 years agoFrequent Visitor
Ignore report level filter in a measure
I've read numerous posts about this, it still doesn't works for me. My scenario is as below - I have a Date dimension (DimDate) and a Fact (StockAvailability). There are several visuals on the pa...
Anonymous
8 years agoNot applicable
This is likely what you are trying to write (i've assumed you have and use a date table):
Overall Stock Availability =
CALCULATE(
AVERAGE([Availability],
DATESINPERIOD(
'Date Table'[Date],
LASTDATE('Date Table'[Date]),
-3,
MONTH
)
)
If that doesn't work, you might need to make the AVERAGE line its own measure and try this:
Availability Average = AVERAGE([Availability])
Overall Stock Availability =
CALCULATE(
[Availability Average],
DATESINPERIOD(
'Date Table'[Date],
LASTDATE('Date Table'[Date]),
-3,
MONTH
)
)
sjpathak
8 years agoFrequent Visitor
Unfortunately, with both the above, I get the same result, its limited to 7 days only due to the report level filter.