Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello everyone,
I want to get product names related to the same IDs between tables createing a measure or calculated column on the TableA and display them on a slicer.
TableA:
Date | IDa | ProductName |
2021/6/1 | 1 | book |
2021/6/2 | 2 | note |
2021/6/3 | 3 | pen |
TableB:
Date | IDb | KW |
2021/6/4 | 4 | 123565 |
2021/6/5 | 2 | 467234 |
2021/6/6 | 5 | 3423 |
The relationship between the tables is IDa (many) to IDb (one).
I try a measure and calculated column to do this, but I can't get correct values due to error.
Any idea, please?
Thanks,
Vladi
Solved! Go to Solution.
@PbiCeo
You can add a Calculated Column in Table B with the following formula:
Name = RELATED( TableA[Product name] )
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@PbiCeo
You can add a Calculated Column in Table B with the following formula:
Name = RELATED( TableA[Product name] )
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |