Forum Discussion
Anonymous
3 years agoNot applicable
Replace values
Hi, Background I have two spreadsheets. Table 1 is a 'master' document and table 2 is a change log that records any changes to the master document. All rows have a unique code number that links th...
- 3 years ago
if you created relationship between two tables you can try this
Column = if(RELATED('Table 2'[Risk description change])="",'Table 1'[Risk description],RELATED('Table 2'[Risk description change]))if don't have the relationship, you can try thisColumn 2 =var _update=maxx(FILTER('Table 2','Table 1'[Risk ID]='Table 2'[Risk ID ]),'Table 2'[Risk description change])return if(_update="",'Table 1'[Risk description],_update)pls see the attachment below - 3 years ago
you are welcome
Anonymous
3 years agoNot applicable
Sorry this just gives lots of errors. Can you recommend a DAX code?
ryan_mayu
3 years agoSuper User
if you created relationship between two tables you can try this
Column = if(RELATED('Table 2'[Risk description change])="",'Table 1'[Risk description],RELATED('Table 2'[Risk description change]))
if don't have the relationship, you can try this
Column 2 =
var _update=maxx(FILTER('Table 2','Table 1'[Risk ID]='Table 2'[Risk ID ]),'Table 2'[Risk description change])
return if(_update="",'Table 1'[Risk description],_update)
pls see the attachment below
- Anonymous3 years agoNot applicable
This works great-thank you
- ryan_mayu3 years agoSuper User
you are welcome