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

Top Solution Authors
Top Kudoed Authors