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 All,
Looking for some help on this one - I need a measure that gives me the total qty but for the last 3 months but this should start from 3 months back.
The above measure does not seem to be pulling in the correct totals.
Example: I have selected April 2024 in my slicer, I want the sum of qty for November 2023, December 2023 & January 2023.
Where am I going wrong?
TIA
Solved! Go to Solution.
Hi @nh27
Try below measure. I have adjusted the start and end date to capture month ends as you except. Right now the problem is the startdate for example will capture from october 31st if you select april[edate moves exactly to 30th day of any given month i.e startdate = oct 30], Same issue with Enddate[will pull till 30th of the given month rather than 31st if that month has till 31st]
Hi @nh27
Try below measure. I have adjusted the start and end date to capture month ends as you except. Right now the problem is the startdate for example will capture from october 31st if you select april[edate moves exactly to 30th day of any given month i.e startdate = oct 30], Same issue with Enddate[will pull till 30th of the given month rather than 31st if that month has till 31st]
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |