Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Chetan007
Frequent Visitor

To Join Both Date set result in one Table

Date Set -1

Chetan007_0-1735549879430.png

Data Set - 2

Chetan007_1-1735549906479.png

Final Output

Chetan007_2-1735549929421.png

1 ACCEPTED SOLUTION

@Chetan007 

you can try to create a dim group table

 

Table 2 = distinct(union(DISTINCT('Table (2)'[Group]),DISTINCT('Table'[Group])))
 
and create relationship with both tables
 
then create a measure
 
Measure = sum('Table (2)'[Value])+sum('Table'[Value])
 
11.PNG
 
pls see the atttachment below




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

4 REPLIES 4
ryan_mayu
Super User
Super User

@Chetan007 

you can try this

1. make sure the column names in the different tables are the same.

2. append the tables

3. group by tables

11.PNG

 

 

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




can i do with table view (dax language)

@Chetan007 

you can try to create a dim group table

 

Table 2 = distinct(union(DISTINCT('Table (2)'[Group]),DISTINCT('Table'[Group])))
 
and create relationship with both tables
 
then create a measure
 
Measure = sum('Table (2)'[Value])+sum('Table'[Value])
 
11.PNG
 
pls see the atttachment below




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @Chetan007 ,
Yes, you can achieve this with DAX  

FinalOutput =
SUMMARIZE (
UNION (
SELECTCOLUMNS(Dataset1, "Group", Dataset1[Group], "Value", Dataset1[Value]),
SELECTCOLUMNS(Dataset2, "Group", Dataset2[Group], "Value", Dataset2[Value])
),
[Group],
"Value", SUM([Value])
)

  • UNION: Combines the rows from both Dataset1 and Dataset2 (based on the Group and Value columns).
  • SELECTCOLUMNS: Ensures that both datasets have the same structure.
  • SUMMARIZE: Groups the data by Group and calculates the sum of the Value for each group. 



 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors