The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
15 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
13 | |
13 | |
8 | |
8 |