Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I am currently working on a project using a grading system and want to display total% of an individuals skillset. The grading system works using the below image (I've only used my own test ID but in the data set it is showing all 930).
Scenario 1 = 10%, Scenario 2 = 20%, Scenario 3 = 30% and Task 1 + Task 2 both give 20% each resulting in the individual being 100% trained. The main issue with this is that the user can have multiple entries for each header, resulting in the total% being over 100% in some cases.
Is there a measure that can be implemented to just look at each of these columns and just take one entry from each and ignore duplicates while adding up to a max of 100%? Happy to give more details.
Solved! Go to Solution.
Hi @Altonga
You can try the following
%Trained =
MAX ( 'Table'[Scenario1%] ) + MAX ( 'Table'[Scenario2%] )
+ MAX ( 'Table'[Scenario3%] )
+ MAX ( 'Table'[Task1%] )
+ MAX ( 'Table'[Task1%] )
Hi @Altonga
You can try the following
%Trained =
MAX ( 'Table'[Scenario1%] ) + MAX ( 'Table'[Scenario2%] )
+ MAX ( 'Table'[Scenario3%] )
+ MAX ( 'Table'[Task1%] )
+ MAX ( 'Table'[Task1%] )
Hi @tamerj1,
Thank you so much for your reply, this worked perfectly! I have noticed that it has affected one of my other visuals which I was showing a top level view for the training records. Please see below. (The top visual.)
Is there a way to make the data from the previous solution work in such a view?
Hi @tamerj1 , So If there was some way to use the data created from the measure you helped me with before to display on a visual somewhat to the above image? Showing the number of indiviuals who have acheived either 10%, 20% and so on. Apologise if not clear I'm having a hard time explaining it myself haha.
Hi @Altonga
manually insert a single column table that contains the values you want to slice by, for example 0.1, 0.2, 0.3, etc.. let's call it Scores[Score]. This single column table shall remain disconnected from the main table or sny other table you have in your data model.
now you can use the following measure in a stacked column column chart were Scores[Score] is on the x-axis and the subject is on the legend
SMX ( IF [%Trained] = SELECTEDVALUE ( Scores[Score] ), 1 )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
15 | |
11 | |
8 | |
8 |
User | Count |
---|---|
19 | |
15 | |
15 | |
14 | |
13 |