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,
Please help me in this issue. I have a month slicer where I can select only one month. I would like to create a measure (onto a card visual), which shows me the sum amount from the past 2 month + the selected month. So if I choose 2019 June, I want to see the sum of amounts from 2019 April, May and June! I use now the following measure but it shows me only the selected month's amount..:
I believe this should work for you.
Measure =
VAR period = DATESINPERIOD('Date'[Date];LASTDATE('Date'[Date]);-2;MONTH)
CALCULATE(
sum(GLEntry[Amount]);
ALL('Date');
GLEntry[New Main Group] = "Net Sales";
Period
)
Hi @tex628 ,
Many thanks it worked!
One more question please, it's the same issue but with one more difficulty..
I try the following measure:
Yes it works on it's own! Just if I put it into the Calculate function it's shows only the selected month value not the sum of the last 3 month.. Any idea?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |