Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I need a help creating a virtual table where Table 1 and Table 2 have same column names.
I want the certain columns to add up the values, meanwhile the remaining column to remain same. Sample tables shared below. Third table is expected final table.
Solved! Go to Solution.
Hi @nareshr89
Please try
New Table =
GROUPBY (
UNION ( Table1, Table2 ),
[ML],
[Region],
"TR", SUMX ( CURRENTGROUP (), [TR] ),
"OR", SUMX ( CURRENTGROUP (), [OR] ),
"FTEs", SUMX ( CURRENTGROUP (), [FTEs] )
)
Hi @nareshr89
Please try
New Table =
GROUPBY (
UNION ( Table1, Table2 ),
[ML],
[Region],
"TR", SUMX ( CURRENTGROUP (), [TR] ),
"OR", SUMX ( CURRENTGROUP (), [OR] ),
"FTEs", SUMX ( CURRENTGROUP (), [FTEs] )
)
User | Count |
---|---|
14 | |
10 | |
7 | |
6 | |
5 |
User | Count |
---|---|
30 | |
19 | |
12 | |
7 | |
5 |