Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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êsUser | Count |
---|---|
113 | |
74 | |
57 | |
44 | |
39 |
User | Count |
---|---|
176 | |
125 | |
61 | |
60 | |
58 |