Forum Discussion
AviramWeiss
Helper I
3 years agoReplacing a substring with selected value
Hello, I'm creating a personalized letter in Power BI desktop (have to do it using this, because of client's demand...). I have a customer table (lets say it has only 2 columns: custID and custN...
- 3 years ago
Thank you for the clear explanation. Calculated columns do not communicate with the filter context. This has to be a measure
calcCustSubstitute =
SUBSTITUTE (
SELECTEDVALUE ( Phrases[phrase] ),
"[custName]",
SELECTEDVALUE ( customers[custName] )
)
tamerj1
Community Champion
3 years agoThank you for the clear explanation. Calculated columns do not communicate with the filter context. This has to be a measure
calcCustSubstitute =
SUBSTITUTE (
SELECTEDVALUE ( Phrases[phrase] ),
"[custName]",
SELECTEDVALUE ( customers[custName] )
)
AviramWeiss
Helper I
3 years agoThank you very much, tamerj1 .
Now it works like a charm.