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 August 31st. Request your voucher.
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 |
---|---|
13 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
24 | |
14 | |
13 | |
8 | |
8 |