Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
45 |