Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Desculpe, mas não consegui visualizar e/ou entender o funcionamento.
No meu ver, não funcionou.
Poderia tentar me explicar só mais uma vez por favor?
Lembrando a título de exemplo que:
O SALDO INICIAL SERÁ SEMPRE O ACUMULADO DO DIA ANTERIOR.
Hi @Anonymous ,
It works well. Could you please tell what is the error?
Transf.SaldoAcumu = CALCULATE(SUM('BalanceteAnalítico'[Acumulado]),FILTER(ALL('BalanceteAnalítico'),'BalanceteAnalítico'[Data]=SELECTEDVALUE('BalanceteAnalítico'[Data])-1))
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Desculpe, mas não consegui visualizar e/ou entender o funcionamento.
No meu ver, não funcionou.
Poderia tentar me explicar só mais uma vez por favor?
Lembrando a título de exemplo que:
O SALDO INICIAL SERÁ SEMPRE O ACUMULADO DO DIA ANTERIOR.
Hi @Anonymous ,
I have a create a simple sample. Please refer to it to see if it helps you.
Create a measure.
flag = CALCULATE(SUM('Table'[_1D]),FILTER(ALL('Table'),'Table'[date]<=MAX('Table'[date])))
If I have misunderstood your meaning, please provide your desired output.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Boa tarde!
Não, não seria isso mas, vamos pegar sua tabela como exemplo porém, fazendo algumas alterações em suas colunas a saber:
A coluna"_1D" chame-a de "Valor".
A coluna "flag" chame-a de "Acumulado".
Agora vamos a questão:
Considerando que sua tabela começa em 01/12/2021, qual é o saldo anterior ou seja: 30/11/2021?
De posse tessa informação, precisamos de uma medida que chamaremos de SALDO INICIAL. Essa medida derá mostrar o saldo do dia anterior ou seja, o que sobrou do dia 30/11.
Em outras palavras, o SALDO FINAL de hoje, deverá ser o SALDO INICIAL de amanhã e assim sucessivamente.
Consegue me ajudar?
Hi @Anonymous ,
Please have a try.
previous_ = CALCULATE(MAX('Table'[_Accumulated]),FILTER(ALL('Table'),'Table'[date]=SELECTEDVALUE('Table'[date])-1))
If I still misunderstand your meaning, please provide your desired output. For example, What do you want to get 2021/12/1 output what results, 12/1:0 and 12/2:12? Or other?
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Olá...
Agora sim, estamos falando a mesma língua.
Baixei sua planilha e está correto e funcional sua medida porém, na minha, não estou conseguindo.
Está dando erro.
Até consegui criar a coluna que acumula o saldo levando em consideração a categoria porém, não consegui criar a coluna "Transf.SaldoAcumul" que na sua seria a "previous_".
Tentei anexar minha planilha aqui para você, mas não aceitou o tipo de arquivo.
Baseado na sua coluna "previous" ou descrever abaixo a medida que criei para a minha que se chamaria "Transf.SaldoAcumul" e também o erro. Veja:
Hi @Anonymous ,
Please change the position of the brackets.
Transf.SaldoAcumu = CALCULATE(MAX('BalanceteAnalítico'[Acumulado]),FILTER(ALL('BalanceteAnalítico'),'BalanceteAnalítico'[Data]=SELECTEDVALUE('BalanceteAnalítico'[Data]-1)))
If it still doesn't work, please provide your pbix without privacy information.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Bom dia...
Infelizmente nao deu certo novamente.
Anexo link do PBI conforme solicitado.
Desde ja, agradeco imensamente pelo apoio e ajuda.
No aguardo...
https://drive.google.com/file/d/1UzXfosckE1hJWR-ZzjkD3SAEzy888vJu/view?usp=sharing
Olá...
Estou precisando desenvolver uma medida no PowerBI que me retorne o saldo inicial.
Lembrando que:
O SALDO INICIAL de 01/01/22 é exatamente o SALDO FINAL de 31/12/21 e assim sucessivamente.
Minhas colunas são:
Alguém poderia me auxiliar por favor?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 47 | |
| 44 | |
| 20 | |
| 20 |
| User | Count |
|---|---|
| 73 | |
| 72 | |
| 34 | |
| 33 | |
| 31 |