Forum Discussion
Time Intellegence logic
Coryanthony , not very clear
if you need date greater than a date
new measure =
var _max = maxx(allselected(Date),Date1[Date])
return
calculate( sum(Table[Value]), filter(all('Date'), 'Date'[Date] >=_max))
In case you need trend then you need have slicer on an independent date table
//Date1 is independent Date table, Date is joined with Table
new measure =
var _max = maxx(allselected(Date1),Date1[Date])
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] >=_max))
The information you have provided is not making the problem clear to me. Can you please explain with an example.
Appreciate your Kudos.
Hi amitchandak - thank you for your response.
my current measure applies for all dates in calendar table. I need to add to the measure. if date is before 12/1/22, then my current measure applies. But if the date is on or after 12/1/2022, then i need to edit the rates. the rates increased for dates on or after 12/1/22.
- thx3 years agoFrequent Visitor
found a solution yet ?