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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
kasife
Helper V
Helper V

Validation between two fact tables

hi Guys,

I have two fact tables (fOrçamento and fRealizado).

I would like to know the projects I have in one and not in the other table.

How could this be done? Can anyone help me to get this result?

 

kasife_0-1669503325747.png

 

Result:

kasife_1-1669503851004.png

 

 

1 ACCEPTED SOLUTION
MahyarTF
Memorable Member
Memorable Member

Hi,

I usually do it on the Power Query side (it depends on the data size).

For this purpose :

1-Merge both tables and create the new only (Full Outer join)

MahyarTF_0-1669505469887.png

2-After expanding the columns and selecting the particular columns that you need, create the new "custom Column" as bellow :

= Table.AddColumn(#"Expanded Sheet64", "Custom", each if [Id] <> null then
if [Sheet64.Id] <> null then "Project " & [Name] & " Contains in table A and B"
else "Project " & [Name] & " Contains in table A"
else "Project " & [Sheet64.Name] & " Contains in table B")

MahyarTF_1-1669505587254.png

Appreciate your Kudos an please mark it as a solution if it helps

Mahyartf

View solution in original post

2 REPLIES 2
MahyarTF
Memorable Member
Memorable Member

Hi,

I usually do it on the Power Query side (it depends on the data size).

For this purpose :

1-Merge both tables and create the new only (Full Outer join)

MahyarTF_0-1669505469887.png

2-After expanding the columns and selecting the particular columns that you need, create the new "custom Column" as bellow :

= Table.AddColumn(#"Expanded Sheet64", "Custom", each if [Id] <> null then
if [Sheet64.Id] <> null then "Project " & [Name] & " Contains in table A and B"
else "Project " & [Name] & " Contains in table A"
else "Project " & [Sheet64.Name] & " Contains in table B")

MahyarTF_1-1669505587254.png

Appreciate your Kudos an please mark it as a solution if it helps

Mahyartf

@MahyarTF thank you. It worked

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.