Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
i have several different columns like subject columns like this
username email english maths scienece computer
abc abc@gmail.com 0-25% 76-100% 0-25%
like engish is 0-25%
maths is 76-100%
sceince is 0
and computer is 0-25%
and another table
| date | username | |
| 8/21/2024 | abc | abc@gmail.com |
| 7/21/2024 | abc | abc@gmail.com |
| 7/11/2024 | abc | abc@gmail.com |
so i want
so here last login date is 8/21/2024
means i want to count columns like abc person compleete 3 subjects except sciecnce/
so i want 3 figure here ..
Solved! Go to Solution.
Hello @rebam12 - you can try the below logic
Hope this helps.
Proud to be a Super User! | |
Hi @rebam12 -Create a measure to get the last login date for each student
Create calculated column to count completed subjects: is more than 0%
Hope this helps.
Proud to be a Super User! | |
is this necessary to create var for each subjects ? what if there is 15 subjects then bit difficult to create 15 variables .... is there any other alternative for this ?
Hello @rebam12 - you can try the below logic
Hope this helps.
Proud to be a Super User! | |
the easiest option is to model your data better.
I.e subjects as rows not columns
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!