Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi, I was hoping someone could help me with a CountIf equivilanet in Power BI.
I would like to count the number of n/a's per row, to then formulate a percentage of how many data fields have been completed for each row.
Due to the format of data export, I cannot transpose the data into columns rather than rows.
Please see example data, any help would be greatly appreciated.
Thank you.
| Name | Birthday | Nationality | Gender | Age | Occupation | Address | Number of N/A | Percentage Row Complete |
| Steve | 22/04/1990 | n/a | Male | 31 | Builder | Scotland | ||
| Alice | n/a | Irish | Female | n/a | n/a | Ireland | ||
| Bob | n/a | British | n/a | 52 | Teacher | n/a |
Solved! Go to Solution.
@ZW , then you have to try a measure like
Divide(
countx(filter(Table, Table[Name] ="N/A"), [Name])
+countx(filter(Table, Table[Birthday] ="N/A"), [Birthday])
+countx(filter(Table, Table[Nationality] ="N/A"), [Nationality])
+countx(filter(Table, Table[Gender] ="N/A"), [Gender])
+countx(filter(Table, Table[Age] ="N/A"), [Age])
+countx(filter(Table, Table[Occupation] ="N/A"), [Occupation])
+countx(filter(Table, Table[Address] ="N/A"), [Address]),
countrows(Table)*7)
This worked, thank you very much!
@ZW , then you have to try a measure like
Divide(
countx(filter(Table, Table[Name] ="N/A"), [Name])
+countx(filter(Table, Table[Birthday] ="N/A"), [Birthday])
+countx(filter(Table, Table[Nationality] ="N/A"), [Nationality])
+countx(filter(Table, Table[Gender] ="N/A"), [Gender])
+countx(filter(Table, Table[Age] ="N/A"), [Age])
+countx(filter(Table, Table[Occupation] ="N/A"), [Occupation])
+countx(filter(Table, Table[Address] ="N/A"), [Address]),
countrows(Table)*7)
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 51 | |
| 46 | |
| 23 | |
| 19 |
| User | Count |
|---|---|
| 139 | |
| 112 | |
| 51 | |
| 33 | |
| 29 |