Forum Discussion
Power BI count unique values in a column from SharePoint list
- 2 years ago
something like this?
| FTT NAME | PTT NAME | PTT GRADE | DATE | Proactively supports co-trainer(s) | Follows lead trainer guidance /decisions | Communicates with lead trainer in a timely manner |
| User 1 | PTT1 | PUR | 45267 | C | C | C |
| User 1 | PTT2 | GR1 | 45266.3333 | CWF | CWF | CWF |
| User 1 | PTT3 | CSV | 45268 | C | C | C |
| User 2 | PTT4 | PUR | 45268 | C | C | C |
| User 3 | PTT5 | PUR | 45268 | C | C | CWF |
| User 4 | PTT6 | CSV | 45268 | C | C | C |
| User 5 | PTT7 | PUR | 45261 | C | C | C |
| User 6 | PTT8 | GR1 | 45267.3333 | DEV | C | C |
| User 7 | PTT9 | PUR | 45268 | C | C | C |
| User 1 | PTT10 | PUR | 45268 | C | C | C |
| User 1 | PTT11 | CSV | 45268 | C | C | C |
| User 3 | PTT2 | PUR | 45268 | C | C | C |
| User 2 | PTT12 | PUR | 45268 | C | C | C |
| User 8 | PTT13 | GR1 | 45268 | C | C | C |
| User 9 | PTT1 | PUR | 45287 | C | C | C |
| User 4 | PTT14 | CSV | 45287 | C | C | C |
| User 5 | PTT15 | FG1 | 45294 | C | C | C |
| User 2 | PTT16 | FG1 | 45301 | C | C | C |
Thank you for your reply lbendlin .
Above is a sample data of a bigger table that I have on the SharePoint list. Out of this data I am generating a Power BI dashboard like the below:
Everything is ok on the dashboard except for the 4 visuals (Collaboration, Knowledge, Delivery and Drive). Based on the sample table provided, the last 3 columns are under the collaboration visual which I want it to display like the visual below:
Help me with that and I will follow the same for the other 3 visuals.
Let me know if you need any more information.
Thank you 🙂
Unpivot your data to bring it into usable format.
see attached
- Tentoria2 years agoFrequent Visitor
Hi lbendlin ,
Thank you for your reply.
I did that and it worked fine for the 1st visual "Collaboration". A soon I did the same for the other 3 visuals (Knowledge, Delivery and Drive) it duplicated the rows resulting to innacurate values in the visuals. So instead of having a total of 18 for each column, it gave 2394 and other higher values. If I click on the row and remove duplicates it removes necessary rows which again results in inaccurate values.
Is there a way to share the file with you so you can have a better understanding and maybe fix it?
Thank you.
- lbendlin2 years agoSuper User
Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.- Tentoria2 years agoFrequent Visitor
Hi lbendlin ,
FTT NAME PTT NAME PTT GRADE DATE COLLABORATION Proactively supports co-trainer(s) Follows lead trainer guidance /decisions Communicates with lead trainer in a timely manner KNOWLEDGE Delivers correct SEP knowledge Able to provide additional knowledge (apart from the OME) Answers questions confidently and knowledgeably DELIVERY Able to objectively evaluate leaner(s) performance Able to respectfully deliver objective /constructive feedback to learners during the practical sessions Respectfully deliver theory sessions Communicates with learners appropriately Adheres to approved timetable /training material(s) Manages all training resources efficiently Hussein Ahmed PUR 07/12/2023 00:00:00 C C C C C C C C C C C C Hussein El Ias GR1 06/12/2023 00:00:00 CWF CWF CWF C C C C C C C C C Hussein Wissam CSV 08/12/2023 00:00:00 C C C C C C C C C C C C Tilina Yvonne PUR 08/12/2023 00:00:00 C C C C C C C C C C C C Tufan Roxanne PUR 08/12/2023 00:00:00 C C CWF C C C CWF C C C C C Trevor Saba CSV 08/12/2023 00:00:00 C C C CWF CWF CWF C C C C C C Xiyao Sean PUR 01/12/2023 00:00:00 C C C C C C C C C C C C Wael Francesca GR1 07/12/2023 00:00:00 DEV C C C C C C C C C C C Mary Mijat PUR 08/12/2023 00:00:00 C C C C C C C C C C C C Hussein Michael PUR 08/12/2023 00:00:00 C C C C C C C C C C C C Hussein Janka CSV 08/12/2023 00:00:00 C C C C C C C C C C C C Hussein Deon PUR 08/12/2023 00:00:00 C C C C C C C C C C C C Hussein Manpreet PUR 08/12/2023 00:00:00 C C C C C C C C C C C C Orsolya Maleena GR1 08/12/2023 00:00:00 C C C C CWF C C C C C C C Christian Ahmed PUR 27/12/2023 00:00:00 C C C DEV CWF C C C C C C C Hussein Alexandra CSV 27/12/2023 00:00:00 C C C C C C C CWF C C CWF C Hussein Shauna FG1 03/01/2024 00:00:00 C C C C CWF DEV C C C C C CWF Hussein Lejla FG1 10/01/2024 00:00:00 C C C CWF CWF C DEV C C C C C Hussein Anna GR1 11/01/2024 00:00:00 C C C C C C C C C C CWF C This is the table before unpivoting as I couldn't upload it due to the duplicates. Please unpivot the columns and see the duplicates.
Desired outcome: