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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.