Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Team,
Got an issue while connecting two Tables A and B, the table and outputs are as shown below,
Table A
Table B
Expected Output
But the output I got while connecting two table is as shown below
Kindly help to resolve the issue
Thanks & Regards,
Jen
Solved! Go to Solution.
Hi @jenani_user ,
I created a sample pbix file(see the attachment), please find the details in it.
Table = UNION ( VALUES ( 'A'[NAME] ), VALUES ( 'B'[NAME] ) )NTarget =
CALCULATE (
SUM ( 'A'[TARGET] ),
FILTER ( 'A', 'A'[NAME] = SELECTEDVALUE ( 'Table'[NAME] ) )
)NAmount =
CALCULATE (
SUM ( 'B'[AMOUNT] ),
FILTER ( 'B', 'B'[NAME] = SELECTEDVALUE ( 'Table'[NAME] ) )
)
Best Regards
Hi @jenani_user ,
I created a sample pbix file(see the attachment), please find the details in it.
Table = UNION ( VALUES ( 'A'[NAME] ), VALUES ( 'B'[NAME] ) )NTarget =
CALCULATE (
SUM ( 'A'[TARGET] ),
FILTER ( 'A', 'A'[NAME] = SELECTEDVALUE ( 'Table'[NAME] ) )
)NAmount =
CALCULATE (
SUM ( 'B'[AMOUNT] ),
FILTER ( 'B', 'B'[NAME] = SELECTEDVALUE ( 'Table'[NAME] ) )
)
Best Regards
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 |