Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
I am new to PowerBI so please forgive my newbie question here. I have two tables Computers and Software with a one to many relationship. I am trying to figure out how to determine if a ComputerID in the Computers table has Adobe Reader listed in the Software table and if so return a custom value and if not return another value.
Computers
| ComputerID | DeviceName | NewColumn |
| 1 | Laptop1 | |
| 2 | Laptop2 | |
| 3 | Laptop3 |
Software
| ComputerID | SoftwareSuite |
| 1 | Adobe Reader |
| 1 | Google Chrome |
| 2 | Google Chrome |
| 2 | AutoCAD |
| 3 | Adobe Reader |
Solved! Go to Solution.
Hi @Anonymous
create a measure
NewColumn = IF(CALCULATE(COUNTROWS(Software), Software[SoftwareSuite]="Adobe Reader") > 0, "custom value", "another value")
Hi @Anonymous
create a measure
NewColumn = IF(CALCULATE(COUNTROWS(Software), Software[SoftwareSuite]="Adobe Reader") > 0, "custom value", "another value")
Thanks, creating a measure did not seem to work, but using that formula in create a new column did work well.
thanks again