cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
rtomazelli
New Member

Atualização Incremental duplicando dados

Fala pessoal, há algumas semanas que estou enfrentando um problema com atualização incremental.

No PBI Desktop, os dados estão validados e corretos, porém, ao publicar no servidor, os dados da minha atualização incremental ficam com valores divergentes (Duplica ou Quase duplica). Vou descrever o passo a passo de como fiz a minha atualização incremental.

 

1ª Definição de RangStart e RangEnd 

2º Acrescentei o comando da parametrização no meu Editor de consulta no Power Query, tratando em data hora direto na minha query do SQL.

3º Programei minha atualização incremental para atualizar os 2 últimos meses.

 

Observação:

- No PBI Desktop os dados não ficam divergente

- Ao publicar no servidor, o período de 2 meses da minha atualização incremental fica com os dados divergentes (Duplica ou Quase duplica), sendo a partir dos dados que o relatório foi publicado. Por exemplo:

Publiquei o relatório em novembro, para atualizar 2 meses e manter o período de 1 ano.

Ele duplica ou quase duplica os valores de Outubro e Novembro. No mês de dezembro os valores do mês de Outubro, Novembro e o mês de Dezembro permanecem divergentes.

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

Keep in mind that between RangeStart and RangeEnd only one of them can be inclusive

 

Wrong:  RangeStart <= Date <= RangeEnd

 

Right: RangeStart <= Date < RangeEnd

 

Data duplication is usually caused by overlapping partitions. 

View solution in original post

That looks ok. Note that you can use DateTime.ToText(RangeStart,"yyyyMMdd")  etc.

 

So the error may be elsewhere. Do you know how to access the partitions of the incremental refresh dataset?

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

Keep in mind that between RangeStart and RangeEnd only one of them can be inclusive

 

Wrong:  RangeStart <= Date <= RangeEnd

 

Right: RangeStart <= Date < RangeEnd

 

Data duplication is usually caused by overlapping partitions. 

RangeStart and RangeEnd 

rtomazelli_0-1640028956716.png

 

That looks ok. Note that you can use DateTime.ToText(RangeStart,"yyyyMMdd")  etc.

 

So the error may be elsewhere. Do you know how to access the partitions of the incremental refresh dataset?

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors