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!
Hello all! i am trying to check if columns B contains "Virus" or "Malware" and returns True or false for every device.. i am just trying to run through a list of computers to see which one is missing Antivirus.
hoping to get the results like
| DeviceID | AV Check |
| 1 | TRUE |
| 2 | FALSE |
| 3 | TRUE |
Solved! Go to Solution.
Hi ,
Please try the below measures
AVCheck Measure = CALCULATE(COUNTROWS(Device),SEARCH("Virus",Device[Installed],1,FALSE()) || SEARCH("Malware",Device[Installed],1,FALSE()) )AvCheck = if(ISBLANK(Device[AVCheck Measure]),"FALSE","TRUE")
Hi
You can add the conditional columns in Query editor as shown below and then you can filter as you needed.
Kindly note that the filter values are case sensitive.
Hi
You can add the conditional columns in Query editor as shown below and then you can filter as you needed.
Kindly note that the filter values are case sensitive.
Hi ,
Please try the below measures
AVCheck Measure = CALCULATE(COUNTROWS(Device),SEARCH("Virus",Device[Installed],1,FALSE()) || SEARCH("Malware",Device[Installed],1,FALSE()) )AvCheck = if(ISBLANK(Device[AVCheck Measure]),"FALSE","TRUE")
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 |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 124 | |
| 108 | |
| 47 | |
| 28 | |
| 27 |