Forum Discussion
Dynamically Return Data Less Than or Equal To Selected Year
- 4 years ago
TDang , You can create a measure like
calculate(sum(Table[Value]), filter(all(Table[Year]), Table[Year] <= selectedvalue(Table[Year]) ) )
You can use this as a measure or visual level filter.
But this will not allow you to display a trend; for that year should come from an independent table
calculate(sum(Table[Value]), filter((Table[Year]), Table[Year] <= selectedvalue(year[Year]) ) )
refer
Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI
TDang , You can create a measure like
calculate(sum(Table[Value]), filter(all(Table[Year]), Table[Year] <= selectedvalue(Table[Year]) ) )
You can use this as a measure or visual level filter.
But this will not allow you to display a trend; for that year should come from an independent table
calculate(sum(Table[Value]), filter((Table[Year]), Table[Year] <= selectedvalue(year[Year]) ) )
refer
Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI