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
Hi there,
I have a simple problem and I can't seem to figure it out. I have Year to date information that i am displaying but for a few visuals I only want to show the data if it falls in the 6 months prior to the previous month.
i.e. In september, i only want to show data between February and July. And so on...
I understand that I will need to create a measure to mark all the dates that fall in this timeline and this is what I am did
Solved! Go to Solution.
Thanks Amit, I actually found a solution:
@NOVICE02 , Try a measure like with help from date table
Rolling 6 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ], eomonth(MAX('Date'[Date ]), -1) ,-6,MONTH))
Thanks Amit, I actually found a solution:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 36 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 74 | |
| 66 | |
| 65 |