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
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
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.