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,
I'm back.. again. Sorry, I'm so close to finishing my report though!
I want to find out if we're hitting targets. We have been given percentage targets.
I would love to just use one column to do this on my table visual.
I already have measures that give me a target total e.g.
Midlands 22 = SWITCH(SELECTEDVALUE(Data[Programme (Renamed)]),"Midlands",22
South 10 = SWITCH(SELECTEDVALUE(Data[Programme (Renamed)]),"South",10
East 14 = SWITCH(SELECTEDVALUE(Data[Programme (Renamed)]),"East",14
(I use these to plot a line on my graphs)
I'm now using the measures above to find out my percentage:
Thank you - i've tried lots of variations and i'm not winning.
Solved! Go to Solution.
Hi @FlankyPank2___ ,
Create a single measure with the following code:
Target = SWITCH(SELECTEDVALUE(Data[Programme (Renamed)]),
"Midlands",22
"South",10,
"East",14)
Then use the following code:
Target Percentage = [Slicer Day Count]*[Target]
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @FlankyPank2___ ,
Create a single measure with the following code:
Target = SWITCH(SELECTEDVALUE(Data[Programme (Renamed)]),
"Midlands",22
"South",10,
"East",14)
Then use the following code:
Target Percentage = [Slicer Day Count]*[Target]
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThank you so much - simple.
I need to learn Dax when i've finished this project! Thanks again
Don't forget to accept the correct answer to help others.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsStarting 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 |
---|---|
93 | |
85 | |
84 | |
73 | |
49 |
User | Count |
---|---|
142 | |
133 | |
110 | |
68 | |
55 |