Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Code | Description |
914940002 | Some text1 |
914940004 | Some text2 |
Code | Description |
914940002 | Some text1 |
914940002, 914940004 | Some text1, Some text2 |
Solved! Go to Solution.
@Anonymous - Can you modify Table B? Or does it have to remain in that format?
If you can modify Table B, I would use power query to split the code column into rows. If you go into power query, and right click on the column table for code and click "Split Column" -> "By Delimiter" then select Comma. Then you can select advanced options, and split into new rows.
This will split your table and give each code line a unique row.
Then you can create a relationship between table A and table B on Code column, and your visualizations will filter as needed.
Table 1 and Table 2 are A and B respectively ? As per the tables I shared
Yep sorry. Table1 is Table A and T2 Tb
This doesn't work
@Anonymous - Can you modify Table B? Or does it have to remain in that format?
If you can modify Table B, I would use power query to split the code column into rows. If you go into power query, and right click on the column table for code and click "Split Column" -> "By Delimiter" then select Comma. Then you can select advanced options, and split into new rows.
This will split your table and give each code line a unique row.
Then you can create a relationship between table A and table B on Code column, and your visualizations will filter as needed.
This works. Thank you!
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
10 | |
8 |