The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance 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 |
---|---|
78 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
52 | |
50 | |
46 |