calculate last 30 days date code example Example: power bi dax today - 30 days DATEADD(Dates[Date],-30,DAY)