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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Formula DAX

Bom dia, estou com um problema re raciocinio logico, se alguém pode me ajudar agradeço desde já.

Tenho uma meta pra cumprir ao longo do mês, para cada dia eu irei dividir essa meta, ou seja.  Meta = Meta a faturar - faturado do dia/dias do mês, porém, no dia 1, eu teria que dividir essa meta do mês por todos os dias, mas a formula que estou usando, pega o que faturei no dia 1, sendo que esse valor tem que ser descontado no dia 2. Se a meta não é cumprida naquele dia, ela é somada ao que falta da meta final e dividir pelo numero de dias do mês que faltam. 

 

Alguém tem um sugestão.

 

Desde já, muito obrigado.

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Can you share sample data and sample output in table format?

 

refer if this video

https://www.facebook.com/watch/?v=343509629992272

or this post can help

https://community.powerbi.com/t5/Quick-Measures-Gallery/Allocating-Targets-in-Power-BI-Why-You-missed-these-Gems-Daily/td-p/1247593

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Greg_Deckler
Community Champion
Community Champion

@Anonymous - Não há informações suficientes para continuar, por favor, verifique se o seu problema é um problema comum listado aqui: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Além disso, veja este post sobre como obter sua pergunta respondida rapidamente: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

As partes mais importantes são:
1. Amostrar dados como texto, usar a ferramenta de tabela na barra de edição
2. Produção esperada a partir de dados amostrais
3. Explicação em palavras de como obter a partir de 1. a 2.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.