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
Hi All,
I have a table with some columns.
Here is a sample data:
| Col 1 | Vulnerable | F | Col 4 |
| CA | NO | NOT APPLICABLE | USA |
| NY | YES | PENDING | USA |
| WA | NO | PENDING | USA |
| GA | NO | NOT APPLICABLE | USA |
| DC | YES | SCHEDULED | USA |
| AZ | NO | PATCHED | USA |
| London | Not Assessed | NOT APPLICABLE | UK |
| Paris | Blank | NOT APPLICABLE | FRA |
I need to calculate as:
% Assessed -- This would be anything that was labeled “blank” or “Not Assessed”. from Column Vulnerable
Help will be appreciated
Solved! Go to Solution.
@sdhn , Try measures like
divide(countrows(filter(Table, Table[Vulnerable] ="Yes")), countrows(Table))
divide(countrows(filter(Table, Table[F] ="PENDING")), countrows(Table))
divide(countrows(filter(Table, Table[F] ="SCHEDULED")), countrows(Table))
divide(countrows(filter(Table, Table[F] in{"PATCHED","WORKAROUND"})), countrows(Table))
divide(countrows(filter(Table, Table[Vulnerable] ="Vulnerable" || isblank(Table[Vulnerable]) )), countrows(Table))
or
divide(countrows(filter(Table, Table[Vulnerable] ="Yes")), countrows(allselected(Table)))
divide(countrows(filter(Table, Table[F] ="PENDING")), countrows(allselected(Table)))
divide(countrows(filter(Table, Table[F] ="SCHEDULED")), countrows(allselected(Table)))
divide(countrows(filter(Table, Table[F] in{"PATCHED","WORKAROUND"})), countrows(allselected(Table)))
divide(countrows(filter(Table, Table[Vulnerable] ="Vulnerable" || isblank(Table[Vulnerable]) )), countrows(allselected(Table)))
Many Thanks , Superb
@sdhn , Try measures like
divide(countrows(filter(Table, Table[Vulnerable] ="Yes")), countrows(Table))
divide(countrows(filter(Table, Table[F] ="PENDING")), countrows(Table))
divide(countrows(filter(Table, Table[F] ="SCHEDULED")), countrows(Table))
divide(countrows(filter(Table, Table[F] in{"PATCHED","WORKAROUND"})), countrows(Table))
divide(countrows(filter(Table, Table[Vulnerable] ="Vulnerable" || isblank(Table[Vulnerable]) )), countrows(Table))
or
divide(countrows(filter(Table, Table[Vulnerable] ="Yes")), countrows(allselected(Table)))
divide(countrows(filter(Table, Table[F] ="PENDING")), countrows(allselected(Table)))
divide(countrows(filter(Table, Table[F] ="SCHEDULED")), countrows(allselected(Table)))
divide(countrows(filter(Table, Table[F] in{"PATCHED","WORKAROUND"})), countrows(allselected(Table)))
divide(countrows(filter(Table, Table[Vulnerable] ="Vulnerable" || isblank(Table[Vulnerable]) )), countrows(allselected(Table)))
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |