Forum Discussion
Replace codes with full text based on table
- 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
EventTable doesn't appear in PowerQuery; it's a live connection stored with DirectQuery.
Then merge only the other two tables and then merge the problem description columns and you can use it since there's a relation between them and event table.
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
- ReadTheIron3 years agoHelper III
Sorry, I'm having a bit of trouble understanding. I only have two tables, EventTable (which is a live connection and which I can't access in PowerQuery) and ProblemKey, which is a simple Excel import and which I can access in PowerQuery. I can create calculated columns for EventTable, but I don't know how to access it to merge.