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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
i have a set of data which has the following:
Products with unique identifier. Each product should have a set of documents. The data set i have has gaps with which documents are avalible for the product. I would like to visually show number of missing documents as well as which documents are avaliable.
| Product Code | Product Name | Doc Type |
| 1234 | Apple | Paper |
| 1234 | Apple | Ink |
| 1234 | Apple | Pen |
| 4321 | Banana | Paper |
| 4321 | Banana | Pen |
| 2345 | Pear | Shrink Wrap |
So what i did was created a list from column 'doc type', so the unique count of the product and created custom columns using the following formula: Added contitional column, , each if text.contains ( ) then true else false) ,to give a true/false indication if a certain document is there or not.
| Product Code | Product Name | Doc Type.List | Conditional column.Paper | Conditional column.Shrink Wrap | Conditional column. Pen |
| 1234 | Apple | Paper, Shrink Wrap, Pen | True | True | True |
| 4321 | Banana | Pen, Paper | True | False | True |
| 2345 | Pear | Shrink Wrap | False | True | False |
What i would like to do is count the number of 'False' across the conditional column for each row.
Can someone help?
Thank you in advance.
Solved! Go to Solution.
Hi @PMorfitt ,
Please create a calculated column as below.
Column = IF('Table'[Conditional column.Paper]="false",1,0)+IF('Table'[Conditional column. Pen]="false",1,0)+IF('Table'[Conditional column.Shrink Wrap]="false",1,0)
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @PMorfitt ,
Please create a calculated column as below.
Column = IF('Table'[Conditional column.Paper]="false",1,0)+IF('Table'[Conditional column. Pen]="false",1,0)+IF('Table'[Conditional column.Shrink Wrap]="false",1,0)
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@VasTgThank you for sharing, i've tried as you've suggested however i recieved an error message:
Expression.Error: We cannot apply operator - to types Logical and Number.
Details:
Operator=-
Left=FALSE
Right=1
do you mind explaining what this means and how i can adapt the formula you've provided?
Thanks
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 61 | |
| 43 | |
| 40 | |
| 38 | |
| 22 |
| User | Count |
|---|---|
| 178 | |
| 124 | |
| 116 | |
| 77 | |
| 54 |