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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I have the following model:
What I need to do is to create a custom column in BAR PROJECT_GROUP_PROJCT using POJECT_OWNER column, and relate it to dbo Sales Rep table using Rep ID - Name_c custom column. (there is no direct relationship between the 2 table as seen in the model).
The only thing in comon in values of each 2 column are the left 2 characters of the value (which basically is the Rep ID).
the values of the two columns are as below:
So I need the custom column that I create in PROJECT GROUP table to have the same values as column
Rep ID - Name_c (which is a combination of Rep ID and Name of the Reps).
I cannot change the model. It ruins all my dashboard I guess.
I hope someone can help me.
Hi @Anonymous,
Try this column.
Rep ID - Name_c = VAR _ProjectOwner = 'BAR PROJECT_GROUP_PROJCT'[PROJECT_OWNER] RETURN CALCULATE( SELECTEDVALUE( 'Sales Rep table'[Rep ID - Name_c] ), LEFT( 'Sales Rep table'[Rep ID - Name_c], 2 ) = _ProjectOwner )
Hi @Anonymous,
Try this column.
Rep ID - Name_c = VAR _ProjectOwner = 'BAR PROJECT_GROUP_PROJCT'[PROJECT_OWNER] RETURN CALCULATE( SELECTEDVALUE( 'Sales Rep table'[Rep ID - Name_c] ), LEFT( 'Sales Rep table'[Rep ID - Name_c], 2 ) = _ProjectOwner )