This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Bom dia Pessoal!
Criei duas medidas no Power BI, com a seguinte finalidade ver quais tarefas eu realizai dentro de 01 hora. Todas as tarefas que fiz até 1 hora ele retorna "Dentro da Meta", o que passar de 1 hora "Fora da Meta", porém tem tarefas que passou do prazo de 1 hora e ele está me retornado como "Dentro da Meta". conforme imagem abaixo:
As Medidas que criei são:
Duração = DATEDIFF('PENDENTES'[NUMERAÇÃO] , PENDENTES[ENVIO], HOUR)
Prazo = IF([Duração] <= 1, "Dentro da meta", "Fora da meta")
Imagem do BI:
Segue exemplo de dados:
Como ele aparece no BI:
Desde já agradeço se puderem me ajudar a identificar o problema.
Solved! Go to Solution.
DATEDIFF(HOUR) literally just subtracts the hour values, regardless of the actual duration. Use DATEDIFF(MINUTE) and compare to 60
DATEDIFF(HOUR) literally just subtracts the hour values, regardless of the actual duration. Use DATEDIFF(MINUTE) and compare to 60
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 9 | |
| 9 | |
| 7 | |
| 6 | |
| 6 |