I have a table that looks like below:
I want to create a filtered table that has the same columns except it only has students who have 80 or above on at least one test.
In my example, since StudentID =2 has never had a test score higher than 80, it should be excluded in the new table.
Here's my failed attempt:
CALCULATETABLE(Score, Test1>=80 || Test2>=80 || Test3>=80 || Test4>=80 || Test5>=80)
Solved! Go to Solution.
Thank you for your reply.
Sorry I haven't been clear.
But I want the new table to have the same columns. Also, I just want to include all 5 scores for students who had >=80 on at least one test.
Hi @pucities ,
Yes, it's possible to do it using only DAX. It's the same code, you need to change the filter for your columns with or condition.
However you are gonna have to type all columns always for any calculation.
Check out new user group experience and if you are a leader please create your group!
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks
Check out how to claim yours today!