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!
I want to create a new column for Site on my IR Table. I want to populate the new Site column based on two values in an existing column, or bring the Site name in from a RELATED table. Thought I'd ask first before going down the rabbit hole.
Will something like this work?:
New Column = IF 'IR Table'[StaffTitle] = "MH Program Manager" THEN "MH", IF 'IR Table'[StaffTitle] = "SA Program Manager" THEN "SA", ELSE 'CASE Table'[Site]
Solved! Go to Solution.
Hi @pbrainard
Can you please share some sample of your tables in Text format.
BTW, Try this:
New Column =
VAR _A = 'IR Table'[StaffTitle]
RETURN
SWITCH (
_A,
"MH Program Manager", "MH",
"SA Program Manager", "SA",
RELATED ( 'CASE Table'[Site] )
)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn | Twitter | Blog | YouTube
Hi @pbrainard
Can you please share some sample of your tables in Text format.
BTW, Try this:
New Column =
VAR _A = 'IR Table'[StaffTitle]
RETURN
SWITCH (
_A,
"MH Program Manager", "MH",
"SA Program Manager", "SA",
RELATED ( 'CASE Table'[Site] )
)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn | Twitter | Blog | YouTube
Thank you. Perfect.
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 | |
| 53 | |
| 42 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 121 | |
| 103 | |
| 46 | |
| 30 | |
| 24 |