Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello i have this
| model | date | cant | modelid | ||
| model1 | 01.01.2022 | 1 | mod01 | ||
| model2 | 03.01.2022 | 2 | mod02 | ||
| model3 | 10.01.2022 | 4 | mod03 | ||
| model4 | 15.01.2022 | 2 | mod04 | ||
| model5 | 17.01.2022 | 1 | mod05 | ||
| model1 | 12.02.2022 | 4 | mod01 | ||
| model3 | 15.02.2022 | 2 | mod03 | ||
| model5 | 15.02.2022 | 5 | mod05 | ||
| model1 | 19.02.2022 | 1 | mod01 | ||
| model3 | 21.02.2022 | 2 | mod02 | ||
| Last 30 day starting from slicer selected value of 15.02.2022 | |||||
| model | Total | ||||
| model1 | 4 | ||||
| model2 | 0 | ||||
| model3 | 2 | ||||
| model4 | 2 | ||||
| model5 | 6 |
i write a formula for a measure
Solved! Go to Solution.
@cristianj , Join the date of table with date of date table and try a measure like example
Rolling 30 = CALCULATE(Average(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-30,DAY))
refer, if needed
Rolling Days Formula: https://youtu.be/cJVj5nhkKBw
@cristianj , Join the date of table with date of date table and try a measure like example
Rolling 30 = CALCULATE(Average(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-30,DAY))
refer, if needed
Rolling Days Formula: https://youtu.be/cJVj5nhkKBw
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |