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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
BIswajit_Das
Impactful Individual
Impactful Individual

Power bi Calculated table

There are two table i.e

table1

areanumber
1909
2908
3907
6897
4876
5878

and table2

areanumber
9441
10232
53423
2233
111213
12234

required calculated table is

areanumber
1909
2233
3907
6897
4876
53423
9441
10232
111213
12234

update the old data(table1) with the new data(table2) on power bi desktop

Thank & regrads
Biswajit

1 ACCEPTED SOLUTION
BIswajit_Das
Impactful Individual
Impactful Individual

Found a solution :-

Z_TABLE =
VAR _old =
FILTER (
'table1',
'table1'[AC_NO - Copy]
<>CALCULATE (
SELECTEDVALUE('table2'[AC_NO - Copy]),
ALLEXCEPT (
'table1','table1'[AC_NO - Copy]
)
)
)
VAR _new = 'table2'
RETURN
UNION(_old,_new)

View solution in original post

7 REPLIES 7
BIswajit_Das
Impactful Individual
Impactful Individual

Found a solution :-

Z_TABLE =
VAR _old =
FILTER (
'table1',
'table1'[AC_NO - Copy]
<>CALCULATE (
SELECTEDVALUE('table2'[AC_NO - Copy]),
ALLEXCEPT (
'table1','table1'[AC_NO - Copy]
)
)
)
VAR _new = 'table2'
RETURN
UNION(_old,_new)

mrcss23
Advocate IV
Advocate IV

Hi.

You should go to power query / transform

Then select APPEND QUERIES

and choose this way in picture

Untitled.png

But appending both tables cause duplicates entries of both tables

BIswajit_Das
Impactful Individual
Impactful Individual

I just need to take the recent records based on area not all the

BIswajit_Das
Impactful Individual
Impactful Individual

Thank you for responding but

isn't appending both table combines all the records old+new

 

After the suggested step, the table 1 will have added all the record of table 2.

You you then use table 1 because it will have the full records.

mh2587
Super User
Super User

Just Append both the tables in Power Query it will resolve your problem


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.