Forum Discussion
ReadTheIron
3 years agoHelper III
Replace codes with full text based on table
I have one table of records that uses abbreviations to describe problem codes, like this: EventTable Date Problem Code 1/2/2022 ABC 1/3/2022 CDE 1/3/2022 ABC 1/4/2022 XYZ ...
- Anonymous3 years ago
Hi ReadTheIron ,
Here are the steps you can follow:
1. Create measure.
Measure = var _select=SELECTCOLUMNS('EventTable',"1",[Problem Code]) return MAXX( FILTER(ALL('ProblemKey'), 'ProblemKey'[Problem Code] in _select),[Problem Description])2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Anonymous
3 years agoNot applicable
Hi ReadTheIron ,
Here are the steps you can follow:
1. Create measure.
Measure =
var _select=SELECTCOLUMNS('EventTable',"1",[Problem Code])
return
MAXX(
FILTER(ALL('ProblemKey'),
'ProblemKey'[Problem Code] in _select),[Problem Description])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly