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
jrmkjrm
Frequent Visitor

Report than "unions" Imported fact table + DirectQuery fact table, refresh problem

Hi,

I try to get "online" reports on large volumes of SQLserver order data.

I have two underlaying fact tables of orders; "order_until_yesterday" and "order_today". My orders are "posted" and "irreversible" so the "SQL: union all" of those two tables are always correct. All tables are in SQLserver db.

 

"order_until_yesterday" has hundered thousands of rows and is defined as Imported + "Not include in report refresh", "order_today" has max some hundered rows and is a DirectQuery + "Include in report refresh".

My query "order" is the base table for all reports and that has relations to dimension tables (like customer, product, date) is defined as
"Source = Table.Combine({order_until_yesterday, order_today})" and will aggregate amounts over the dimensions.

 

After midnight the "order_until_yesterday" should be Imported (takes many minutes, this data changes not during the next day).

The plan is that "booked" on refresh in a report only refreshes the direct query part ("order_today"), this takes max a second, but maintain the imported data for old bookings ("order_until_yesterday") that takes many minutes to load.

 

PROBLEM:
1. My problem is that when I filter the reports (select a customer etc) no refresh is made of "order_today" (can ev live with this, it works when all tables are DirectQuery), but when I (ie the end user) Refresh (all visuable objects in report) it loads also the "order_until_yesterday" and that is not needed and not acceptable.

 

Do I have the wrong design/approach, or have failed my configuration?

 

/jerome
desktop version, Version: 2.93.981.0 64-bit (may 2021)

1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @jrmkjrm ,

 

"Include in report refresh" option only works for Power BI Desktop, it doesn't impact the refresh process in Power BI Service.

In Power BI Desktop, when  you disable "Include in report refresh" option, data will not update in report view of Power BI Desktop after you click "Refresh" button in Desktop.

 

So Did you refresh your report in power bi desktop? 

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

View solution in original post

1 REPLY 1
v-deddai1-msft
Community Support
Community Support

Hi @jrmkjrm ,

 

"Include in report refresh" option only works for Power BI Desktop, it doesn't impact the refresh process in Power BI Service.

In Power BI Desktop, when  you disable "Include in report refresh" option, data will not update in report view of Power BI Desktop after you click "Refresh" button in Desktop.

 

So Did you refresh your report in power bi desktop? 

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

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.