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
swise001
Continued Contributor
Continued Contributor

MERGE is TRUNCATING data table - which then fluctuates after EVERY refresh (using static tables)

I've noticed this behavior with one of my Power BI Desktop files.  After every refresh (immeidate back-to-back-to-back refreshes), the imported row count varies wildly (randomly going up or down - and seemingly truncating the static source data.

 

To diagnose the problem I imported all of the table into the model (with no relationships) - and used a COUNTROW to identify the count of each table.  Upon refresh - the source tables all remain constant.  However, the table where MERGES are used varies wildly. 

 

Then I took the table with merges and duplicated it 5 times (1 instance after every merge).  I found the the changes occured at every instance of a merge.  These merges are left joins (and again none of the source tables are changing size).  

 

Any one have an idea of why the merges might be truncating the table data?  These are simple left joins (default merge in Power BI).  I've never experienced this before and even built the report back up from scratch - only to see the behavior continue. 

 

 

1 ACCEPTED SOLUTION
swise001
Continued Contributor
Continued Contributor

Update - after further investigation - it seems to be caused when I merge against a View Table from SQL.  The same issue does not occur when I merge using a standard table (even though both tables are not changing). 

View solution in original post

2 REPLIES 2
swise001
Continued Contributor
Continued Contributor

Update - after further investigation - it seems to be caused when I merge against a View Table from SQL.  The same issue does not occur when I merge using a standard table (even though both tables are not changing). 

@swise001,

 

Thanks for sharing this. You may help accept solution. Your contribution is highly appreciated.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.