Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Preciso diluir o período de data em meses, por exemplo, data de início: 31/01/2022 data de término: 01/02/22, resultando assim janeiro = 1 dia; Fevereiro = 1 dia... Eu usei o DAX abaixo, ele funciona parcialmente, mas a soma está errada e eu não acho que o motivo ...
o gráfico abaixo funciona corretamente quando selecionado algum filtro, mas sem filtro não funciona...
Vou deixar os arquivos, quem puder me ajudar vai ficar muito grato!
@Anonymous , refer if these solutions can help
Between Dates - Dates between
Measure way
Power BI Dax Measure- Allocate data between Range: https://youtu.be/O653vwLTUzM
https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-or-end-date/ba-p/1503785
Tables way
https://amitchandak.medium.com/dax-get-all-dates-between-the-start-and-end-date-8f3dac4ff90b
https://amitchandak.medium.com/power-query-get-all-dates-between-the-start-and-end-date-9ad6a84cf5f2
hello Amit, thanks for the tips, are excellent, but i still could not solve my problem, I used your code as far as "dias por mes" the total sum is certain, but the distribution is not certain, I tried another code as far as "dias distribuidos" there is certain, but the sum is not, I will leave the link of my project, I would be immensely grateful if I could take a look, maybe you can help me, thank you very much!
https://drive.google.com/drive/folders/13OQkc3ETK5HdjZ1j5MPsWmM8gm8AFYYK?usp=sharing
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!