Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Tenho uma tabela anexada, e preciso criar o último valor de cada mês do dia,
Cod | Data | Valor |
151 | 27/05/2022 | 4.556 |
151 | 30/05/2022 | 4.578 |
151 | 01/06/2022 | 4.514 |
151 | 29/06/2022 | 4.321 |
151 | 07/07/2022 | 4.356 |
151 | 30/07/2022 | 4.314 |
o que eu preciso como resultado. Eu não sei como fazer. Ajuda
Bacalhau | maio/2022 | jun/2022 | jul/2022 |
151 | 4.578 | 4.321 | 4.314 |
Hi @Paula1
if I understood correctly :
add chart in dimension :
od
=MonthName(Data)
and in measure :
=FirstSortedValue(Valor,-Data)
pivot table and the output is :
Ola Paula,
Tenta a solucao abaixo.
Usa um pivot table com a data no formato Date(Data,'MMM/YYYY') como coluna e Cod como row. O Valor como measure.
Luiz
Hi @Paula1
if I understood correctly :
add chart in dimension :
od
=MonthName(Data)
and in measure :
=FirstSortedValue(Valor,-Data)
pivot table and the output is :
Ola Paula,
Tenta a solucao abaixo.
Usa um pivot table com a data no formato Date(Data,'MMM/YYYY') como coluna e Cod como row. O Valor como measure.
Luiz