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.
OK this is a little difficult for me to explain but I shall do my best.
I have linked to a database as mysource and using POwerBI to carry out my dashboards, so far this is going excellent. I am now trying to create a dashboard which shows how many students got a question correct over those that didn't. Now the iss ue I am having is this, the resulst are in the form of a letter A, B, C or D they are multiple choice questions. In the database it has the students answer and also in the column next to it the correct answer. The issue is how can I show in my report who got it right or not? Is there anyway in PowerBI to let it knwo that the correct answer needed is say B so it knows for that question the answer is B or if its wrong it would know that. Is there anyway to represent this within PowerBI?
Solved! Go to Solution.
You need to add a custom column with the following statement (alter based on your field names):
if [Correct Answer] = [Student Answer] then "Correct" else "Incorrect"
Your end result will look something like this:
You need to add a custom column with the following statement (alter based on your field names):
if [Correct Answer] = [Student Answer] then "Correct" else "Incorrect"
Your end result will look something like this:
Oh this is great, thanks so much!
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 |
---|---|
86 | |
78 | |
54 | |
39 | |
35 |
User | Count |
---|---|
102 | |
84 | |
48 | |
48 | |
48 |