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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. 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
v-jingzhan-msft
Community Support
Community Support

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
v-jingzhan-msft
Community Support
Community Support

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors