cancel
Showing results for 
Search instead for 
Did you mean: 
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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.