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
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 39 | |
| 38 | |
| 21 |
| User | Count |
|---|---|
| 176 | |
| 131 | |
| 118 | |
| 82 | |
| 54 |