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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
RPaschoalini
Frequent Visitor

Valor anterior

Como repetir o valor anterior na célula vazia da coluna "Acumulado Sinistros"

 

Capturar.PNG

 

8 REPLIES 8
MFelix
Super User
Super User

Hi @RPaschoalini replace the COUNTROWS(TB_sinistros) by TOTALYTD(COUNTROWS(TB_sinistros); coluna de data).

I don't know what is de dste column name you are using.

Regards

Mfelix

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Minha coluna não é data e meu periodo é diferente do ano corrente. Ex. Agosto de 2014 é igual ao primeiro mês de 2015.


É possível utilizar a LastDate para a medida?

I think so.

You can instesd of the column for data use DATEADD( year, month, 1). This will refer all your dates as first of the month.

Mfelix

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Não deu certo, devido a duplicação de dates nos meses menores que 30 dias.

Como utilizar a LastNonBlank?

Add a custom column with date as 1/month/year and use it in your totalytd calculatins.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Quando eu faço isso, é criado linhas com dates repetidas.

Exemplo: 01/08/2015

               01/08/2015

E não funciona!


 

 

What's the formula you are using for the new column?

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Query na tabela "Calendário"

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.