Forum Discussion
Related Function Help
- 8 years ago
Try this calculated column
Column In OneSideTable = CALCULATE ( FIRSTNONBLANK ( ManySideTable[TEXT Column], 1 ) )
The Related Function can't pull in on the Opportunities table beacuse, RELATED fails to figure out which row value has to bring in as it was supllied with mutliple rows (many side relationship have mutliple rows for a given row in one side).
In order to deal with multiple rows we have to use RELATEDTABLE instead of RELATED and then you can aggregate on multiple rows to bring in one value for each row in Opportunities table.
RELATED is used in many side of a relationship in (* : 1)
RELATEDTABLE is used in one side of a relationship in (1 : * )
- aaron12258 years agoHelper I
Thank you for the help, what if I need to pull in a TEXT value?
- Anonymous8 years agoNot applicable
On what bases do you need to pull the Text value as you are supplying many text values in to the Function. We need a condition to sort out one text value out of multiple values supplied.
- Zubair_Muhammad8 years agoCommunity Champion
Try this calculated column
Column In OneSideTable = CALCULATE ( FIRSTNONBLANK ( ManySideTable[TEXT Column], 1 ) )