Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I would like to calculate ARR, this is a sum of the ACV for a given month-year.
I have the following Contract Table:
When the contract ends the Value is 0.
Client Name | Client No | Contract No | Month Added | Starting Quarter | End Quarter | Subscription Type | Report Frequency Per Year | Market | ACV |
Client A | 100 | 100-1 | Jan-24 | Q1 2024 | Q4 2024 | One Year subscription | Quarterly | Italy | 12000 |
Client A | 100 | 100-2 | Sep-24 | Q3 2024 | Q2 2025 | One Year subscription | Quarterly | France | 12000 |
Client B | 88 | 88-1 | Apr-24 | Q2 2024 | Q1 2026 | Two Year Subscription | Quarterly | Spain | 24000 |
Client C | 99 | 99-1 | Aug-23 | Q3 2023 | Q2 2024 | One Year Subscription | Bi-Annual | Germany | 8000 |
I have created a date table as below:
2023 | 2024 | 2025 | 2026 | ||||||||||||||||||||||||||||||
Jul | Aug | Sep | Oct | Nov | Dec | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | Jan | Feb | Mar | |
12000 | 12000 | 12000 | 12000 | 12000 | 12000 | 12000 | 12000 | 12000 | 12000 | 12000 | 12000 | ||||||||||||||||||||||
12000 | 12000 | 12000 | 12000 | 12000 | 12000 | 12000 | 12000 | 12000 | 12000 | 12000 | 12000 | ||||||||||||||||||||||
24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | ||||||||||
8000 | 8000 | 8000 | 8000 | 8000 | 8000 | 8000 | 8000 | 8000 | 8000 | 8000 | 8000 | ||||||||||||||||||||||
ARR | 8000 | 8000 | 8000 | 8000 | 8000 | 8000 | 20000 | 20000 | 20000 | 44000 | 44000 | 44000 | 48000 | 48000 | 48000 | 48000 | 48000 | 48000 | 36000 | 36000 | 36000 | 36000 | 36000 | 36000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 | 24000 |
Hi @zameenakarmali,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?
Thanks,
Prashanth Are
MS Fabric community support
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query
Hi @zameenakarmali,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?
Thanks,
Prashanth Are
MS Fabric community support
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query
Hi @zameenakarmali,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?
Thanks,
Prashanth Are
MS Fabric community support
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query
@zameenakarmali , Create a measure using
DAX
ARR =
VAR SelectedMonthYear = SELECTEDVALUE(Dim_Date[Month-Year])
VAR SelectedDate = MAX(Dim_Date[Date])
RETURN
CALCULATE(
SUM(Contract[ACV]),
FILTER(
Contract,
Contract[Month Added] <= SelectedMonthYear &&
Contract[End Quarter] >= SelectedMonthYear
)
)
Create a Slicer: Add a slicer to your report using the Month-Year column from the Dim_Date table. This will allow you to select a specific month-year.
Proud to be a Super User! |
|
Thank you for this,
I got the following error:
any ideas?
@zameenakarmali , This is data type error
Try using
dax
ARR =
VAR SelectedDate = MAX(Dim_Date[Date])
RETURN
CALCULATE(
SUM(Contract[ACV]),
FILTER(
Contract,
Contract[Month Added] <= SelectedDate &&
Contract[End Quarter] >= SelectedDate
)
)
Proud to be a Super User! |
|
The issue is that we are comparing the Quarters which is a text field to Month-Year which is a date column
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
11 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
12 | |
11 | |
11 | |
11 |