The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |