aggregating
1 TopicStacked bar chart not aggregating correctly.
Hello, good morning everyone! I'm completely stuck on a problem displaying data correctly on a stacked bar chart. My stacked bar chart follows the drill process of Exam > > Sub Exam > > User scores. The user scores and sub-exam scores all seem to be fine but the main exam scores only seem to show the users max score from the sub exams, rather than aggregating if that makes sense? The images below should sort of give an idea of everything Main Exams Sub Exams User Scores for Sub Exams The Sub Exam image is a reflection of the very top bar (63) but as you can see, it doesn't quite add up correctly. The measures I've created are to check scores from 0-100% and follow a similar formula of - 10% = (CALCULATE(DISTINCTCOUNT(jobs[EmailID] ), Filter(jobs,jobs[ActivityTotalNew] >= 0.1 ) ) - [100%] - [90%] - [80%] - [70%] - [60%] - [50%] - [40%] - [30%] - [20%] ) or 70% = (CALCULATE(DISTINCTCOUNT(jobs[EmailID] ), Filter(jobs,jobs[ActivityTotalNew] >= 0.7 ) ) - [100%] - [90%] - [80%]) etc, upto 100% And the measure I've used to add up the totals of the exams is ActivityTotalNew which is - ActivityTotalNew = (jobs[Exam1%]) + (jobs[Exam2%]) + (jobs[Exam3%]) + (jobs[Exam4%]) + (jobs[Exam5%]) The scores are all decimal and should add upto a score of 1 for 100% but it's just not quite working out somewhere and I'm completely at a little bit of a dead end 😔 If anyone had any ideas or pointers of how to get it all working correctly, I'll be more than grateful, I'm just completely stuck on trying to find a solution. I think it's due to the data not aggregating correctly but I'm not sure on how to fix it all. Thank you in advance for any help and if anyone has ay questions or needs more information, feel free to let me know and I'll try as much as I can to help! Thank you! 🙂573Views0likes1Comment