Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi, We have a target which is to decrease by 10% from previous year.
I've created my target measure which works fine and using this in the Gauge visual vs. actuals:
Solved! Go to Solution.
Hi, @Alpesh
Based on your description, I've created the entire sample data below:
I'm going to simulate your measure using the whole of the following: [Af. Bonn-Art-Rasteyer]
AvePhone AHT-Last Year = SUM('Table'[Ave. Phone AHT - Last Year])
Target Phone AHT:
Target Phone AHT =
VAR TenPc = [AvePhone AHT-Last Year]*0.1
Return [AvePhone AHT-Last Year]-TenPc
Actual measure:
EachMonth = SUM('Table'[Ave. Phone AHT - Last Year])
To keep the Target Phone AHT metric flat over the course of a year, I created a metric using the following DAX expression:
Measure = CALCULATE([Target Phone AHT],ALL('Table'[Month]))
This ignores the month context and leaves other filters such as country and year intended. Here are the results:
I have provided the PBIX file used this time below for your reference.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Alpesh
Based on your description, I've created the entire sample data below:
I'm going to simulate your measure using the whole of the following: [Af. Bonn-Art-Rasteyer]
AvePhone AHT-Last Year = SUM('Table'[Ave. Phone AHT - Last Year])
Target Phone AHT:
Target Phone AHT =
VAR TenPc = [AvePhone AHT-Last Year]*0.1
Return [AvePhone AHT-Last Year]-TenPc
Actual measure:
EachMonth = SUM('Table'[Ave. Phone AHT - Last Year])
To keep the Target Phone AHT metric flat over the course of a year, I created a metric using the following DAX expression:
Measure = CALCULATE([Target Phone AHT],ALL('Table'[Month]))
This ignores the month context and leaves other filters such as country and year intended. Here are the results:
I have provided the PBIX file used this time below for your reference.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
90 | |
88 | |
83 | |
64 | |
49 |
User | Count |
---|---|
127 | |
108 | |
87 | |
70 | |
66 |