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.
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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
3 |