Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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.
User | Count |
---|---|
85 | |
79 | |
64 | |
52 | |
46 |
User | Count |
---|---|
101 | |
44 | |
41 | |
39 | |
36 |