Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I want to add all orders my customer did in a 12 month period from the time of the first transaction. is there a measure that can help me with that
@ligalbert , Try a meausre like
var _min = calculate(Min(Table[Date]), allexcept(Table, Table[Customer]) // in case you have customer dim. use Fact as table , in first argument
var _max = date(year(_min)+1 , month(_min), Day(_min)
return
calculate(Sum(Table[Date]), datesbetween(Date[Date], _min, _max))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |