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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
TMoreira
New Member

Usar o tachometer Indicador de metas

Gostaria de saber se há como usar o tacômetro pra dados, como por exemplo. É preciso resolver essa tarefa, caso seja antes de 10 dias, ficaria inferior ao verde, se fosse resolvido entre 10 e 20 dias, ficaria no amarelo e acima de 30 dias ficaria no vermelho. Mas como base só temos dados completos de início e fim da tarefa (dd.mm.aaaa). 

Alguém saberia me informar se consigo converter esses dados dentro do Power BI para conseguir colocá-los dentro do indicador? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @TMoreira 

 

You can add a calculated column with DATEDIFF function to calculate the duration days between two dates. 

Duration = DATEDIFF('Table'[Start Date],'Table'[End Date],DAY)

vjingzhanmsft_0-1706238038790.png

Then use it in a gauge visual or a tachometer visual. I created a sample with a custom visual. Use a slicer to toggle between tasks. 

vjingzhanmsft_1-1706238512895.png

There are several custom visuals you can try to achieve a similar result. 

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @TMoreira 

 

You can add a calculated column with DATEDIFF function to calculate the duration days between two dates. 

Duration = DATEDIFF('Table'[Start Date],'Table'[End Date],DAY)

vjingzhanmsft_0-1706238038790.png

Then use it in a gauge visual or a tachometer visual. I created a sample with a custom visual. Use a slicer to toggle between tasks. 

vjingzhanmsft_1-1706238512895.png

There are several custom visuals you can try to achieve a similar result. 

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.