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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Anonymous
Not applicable

incremental refresh for 2 tables with different values

Hello everyone,
I have prepared a DATASET in POWERBI that I want to set as INCREMENTAL REFRESH.
I set RANGESTART and RANGEEND, and set INCREMENTAL REFRESH to two different tables with different values.

First table:
1_1.png































Second table: 1_2.png




































I have created a new table and compiled these two tables together with APPEND QUERIES as I need the data from both for the report.
1_3.png




1_4.png












When I uploaded the DATASET and clicked on REFRESH it did bring all the data by the definition I set (3 months),
but when I clicked the second time (which should do INCREMENTAL REFRESH),
it again brought all the months to the two tables even though the setting is different. How can you overcome this and divide the INCREMENTAL REFRESH,
but still unite the tables without hurting the incremental refresh?

the queries when i press refresh for the second time on the powerbi:
select top 1000
[_].[Phase],
[_].[T_Install],
[_].[T_Dynamic],
[_].[T_Click],
[_].[T_Click_REJECTED],
[_].[T_Click_OK],
[_].[P_INSTALL_OK],
[_].[P_INSTALL_REJECTED],
[_].[P_Dynamic_OK],
[_].[P_Dynamic_REJECTED],
[_].[P_Conversions],
[_].[C_INSTALL_OK],
[_].[C_INSTALL_REJECTED],
[_].[C_Dynamic_OK],
[_].[C_Dynamic_REJECTED],
[_].[C_Conversions],
[_].[Count],
[_].[EventName],
[_].[SendDate],
[_].[Date],
[_].[Network_ID],
[_].[Network_Status],
[_].[Account_ID],
[_].[Account_Status],
[_].[Campaign_ID],
[_].[Campaign_Status],
[_].[Publisher_ID],
[_].[Publisher_Status],
[_].[Creative_ID],
[_].[Creative_Name],
[_].[Asset_ID],
[_].[ClientIP_UsageType],
[_].[ClientIP_Region],
[_].[ClientIP_City],
[_].[ClientIP_CountryShort],
[_].[Campaign_CostModelID],
[_].[Campaign_ChargeModelID],
[_].[Campaign_AffiliateOfferID],
[_].[Campaign_Automated],
[_].[Publisher_CostModelID],
[_].[Publisher_ChargeModelID],
[_].[Publisher_ShowOfferWall],
[_].[Cost],
[_].[Revenue],
[_].[Campaign_DailyCap],
[_].[Publisher_DailyCap],
[_].[CampaignOutcomeType],
[_].[PublisherOutcomeType],
[_].[ExternalSource_ID],
[_].[PostbackStatusType],
[_].[Postback_HttpStatusCode]
from [dbo].[XXXXXX] as [_] -- NONCLICKS
where [_].[SendDate] >= convert(datetime2, '2019-11-01 12:00:00') and [_].[SendDate] <= convert(datetime2, '2020-02-12 00:00:00')


execute sp_executesql N'select [_].[Phase],
[_].[T_Install],
[_].[T_Dynamic],
[_].[T_Click],
[_].[T_Click_REJECTED],
[_].[T_Click_OK],
[_].[P_INSTALL_OK],
[_].[P_INSTALL_REJECTED],
[_].[P_Dynamic_OK],
[_].[P_Dynamic_REJECTED],
[_].[P_Conversions],
[_].[C_INSTALL_OK],
[_].[C_INSTALL_REJECTED],
[_].[C_Dynamic_OK],
[_].[C_Dynamic_REJECTED],
[_].[C_Conversions],
[_].[Count],
[_].[EventName],
[_].[SendDate],
[_].[Date],
[_].[Network_ID],
[_].[Network_Status],
[_].[Account_ID],
[_].[Account_Status],
[_].[Campaign_ID],
[_].[Campaign_Status],
[_].[Publisher_ID],
[_].[Publisher_Status],
[_].[Creative_ID],
[_].[Creative_Name],
[_].[Asset_ID],
[_].[ClientIP_UsageType],
[_].[ClientIP_Region],
[_].[ClientIP_City],
[_].[ClientIP_CountryShort],
[_].[Campaign_CostModelID],
[_].[Campaign_ChargeModelID],
[_].[Campaign_AffiliateOfferID],
[_].[Campaign_Automated],
[_].[Publisher_CostModelID],
[_].[Publisher_ChargeModelID],
[_].[Publisher_ShowOfferWall],
[_].[Cost],
[_].[Revenue],
[_].[Campaign_DailyCap],
[_].[Publisher_DailyCap],
[_].[CampaignOutcomeType],
[_].[PublisherOutcomeType],
[_].[ExternalSource_ID],
[_].[PostbackStatusType],
[_].[Postback_HttpStatusCode]
from [dbo].[CLICKS] as [_]
where [_].[SendDate] >= convert(datetime2, ''2019-11-01 12:00:00'') and [_].[SendDate] <= convert(datetime2, ''2020-02-12 00:00:00'')
union all select [_].[Phase],
[_].[T_Install],
[_].[T_Dynamic],
[_].[T_Click],
[_].[T_Click_REJECTED],
[_].[T_Click_OK],
[_].[P_INSTALL_OK],
[_].[P_INSTALL_REJECTED],
[_].[P_Dynamic_OK],
[_].[P_Dynamic_REJECTED],
[_].[P_Conversions],
[_].[C_INSTALL_OK],
[_].[C_INSTALL_REJECTED],
[_].[C_Dynamic_OK],
[_].[C_Dynamic_REJECTED],
[_].[C_Conversions],
[_].[Count],
[_].[EventName],
[_].[SendDate],
[_].[Date],
[_].[Network_ID],
[_].[Network_Status],
[_].[Account_ID],
[_].[Account_Status],
[_].[Campaign_ID],
[_].[Campaign_Status],
[_].[Publisher_ID],
[_].[Publisher_Status],
[_].[Creative_ID],
[_].[Creative_Name],
[_].[Asset_ID],
[_].[ClientIP_UsageType],
[_].[ClientIP_Region],
[_].[ClientIP_City],
[_].[ClientIP_CountryShort],
[_].[Campaign_CostModelID],
[_].[Campaign_ChargeModelID],
[_].[Campaign_AffiliateOfferID],
[_].[Campaign_Automated],
[_].[Publisher_CostModelID],
[_].[Publisher_ChargeModelID],
[_].[Publisher_ShowOfferWall],
[_].[Cost],
[_].[Revenue],
[_].[Campaign_DailyCap],
[_].[Publisher_DailyCap],
[_].[CampaignOutcomeType],
[_].[PublisherOutcomeType],
[_].[ExternalSource_ID],
[_].[PostbackStatusType],
[_].[Postback_HttpStatusCode]
from [dbo].[NONCLICKS] as [_]
where [_].[SendDate] >= convert(datetime2, ''2019-11-01 12:00:00'') and [_].[SendDate] <= convert(datetime2, ''2020-02-12 00:00:00'')'

how can i load each table for its own with the configured parameters (14 days for clicks, 3 months for nonclicks)?
1 REPLY 1
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Incremental refresh is available on the context menu for tables.

2222.png

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.