Forum Discussion
Dsch1971
3 years agoFrequent Visitor
Filter a measure until today
Hi I have the following measure in a line chart but wnat the line to stop as of today. This is my measure. How can i achieve this please? Total Wins FY 22 running total in MonthShor...
- 3 years ago
Hi Dsch1971 ,
There are several ways to do this. Here is one option.
Create a calculated column in your date table Is Before Today.
Something like this:
IsBeforeToday =var currentrowdate= Dates[Date]var today = TODAY()RETURNIF(currentrowdate < today,TRUE(),FALSE())Then use that calcualted column as a filter for your visual like below:
djurecic
Super User
3 years agoHi Dsch1971 ,
There are several ways to do this. Here is one option.
Create a calculated column in your date table Is Before Today.
Something like this:
IsBeforeToday =
var currentrowdate= Dates[Date]
var today = TODAY()
RETURN
IF(currentrowdate < today,TRUE(),FALSE())
Then use that calcualted column as a filter for your visual like below: