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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BaronSdG
Resolver II
Resolver II

Merging tables with static data and to update data

Hi all,

 

I am trying to create a balance sheet in Power BI. I am using as data source excel data from the past year (Table A) and current year (Table B).

 

I cannot merge the excels and have Table A together with Table B, as these tables have different stakeholders. This is my limit on the excel side.

 

I would like to know how I can create in Power BI graphs that take into consideration both the data in table A and B, as they were one table, considering that new data will be added in Table B over time.

I saw the merge option, but that adds data from 2 tables into 1 only when you do it for the first time, it does not a continuous check of potential new data, right?

 

Thanks

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@BaronSdG , Merge in Power Query and Union in DAX should work with new data as long as that is coming in both these tables

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Union(TableA, TableB)

 

Or use selectcolumns to get the right columns

Also refer: https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/

 

View solution in original post

2 REPLIES 2
jclem_326
New Member

Thanks for this.  

 

I had a similar problem, but my old data was static and  needed to update current data on a regular basis but did not need to update prior data unless the user access rights to prior data changed.  But the old data was causing long delays in refresh.

 

Following this guidance, I used Power Query to create two identical tables; a current and prior.  Both were set to Enable Load, but only the Current table was set to include in report refresh.

 

When the dasboard was delivered as a template, the prior data was pulled in intially.  But subsequently only the current data was retrieved.    

amitchandak
Super User
Super User

@BaronSdG , Merge in Power Query and Union in DAX should work with new data as long as that is coming in both these tables

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Union(TableA, TableB)

 

Or use selectcolumns to get the right columns

Also refer: https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors