This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
I am trying to calculate the difference of AHT between the two months for different categories. The AHT displayed is already a measure and i am using a month slicer to filter the data as per months.
| Category | October AHT | November AHT |
| A | 2.65 | 2.75 |
| B | 2.35 | 2.45 |
| C | 1.28 | 1.64 |
| D | 1.78 | 1.45 |
| E | - | 2.14 |
| F | 1.91 | 1.95 |
| G | 1.17 | 0.72 |
| H | 2.65 | 3.14 |
| I | 1.43 | 1.59 |
what i want to accomplih is this.
| Category | October AHT | November AHT | Difference |
| A | 2.65 | 2.75 | -0.10 |
| B | 2.35 | 2.45 | -0.10 |
| C | 1.28 | 1.64 | -0.36 |
| D | 1.78 | 1.45 | 0.33 |
| E | - | 2.14 | - |
| F | 1.91 | 1.95 | -0.04 |
| G | 1.17 | 0.72 | 0.45 |
| H | 2.65 | 3.14 | -0.49 |
| I | 1.43 | 1.59 | -0.16 |
This is an just an example of this month and the month prior. The month slicer has other months too and the difference should change based on the months selected in the slicer. Thank you for you help!!
hi, @allwin_1510
What is your data structure? do you mean that you select two months then calculate the difference between two months?
If so, if you select three or more months, how to calculate the difference?
if not, do you mean that calculate difference between two consecutive months?
you could create a date table then use PREVIOUSMONTH to create a measure bease on [AHT]
like
If it is not your case, please share sample pbix file or some data sample and expected output . You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.
Best Regards,
Lin
So do you actually have an October AHT measure and another November AHT measure or is it just one measure?
Just one measure for all months
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 21 | |
| 21 | |
| 21 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 56 | |
| 53 | |
| 49 | |
| 26 | |
| 25 |