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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Clarafang
Frequent Visitor

Time duration couldn't show the correct format on dashboard

Hi guys,

I am a green-hand to use power BI, and I get a issue when I make the dashboard. I have no idea why the duration shows totally wrong on dashboard , can anyone help me find out what is the problem? thanks!

 

on the date viewon the date view

 

on the report viewon the report view

 

5 REPLIES 5
v-yalanwu-msft
Community Support
Community Support

Hi, @Clarafang ;

Is your problem solved? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-yalanwu-msft
Community Support
Community Support

Hi., @Clarafang ;

My understanding is that the data storage type and the data visualization type cannot be completely consistent.


For example, in power query there are duration, date/time/time zone, percentage type, which is not in power bi, but power bi can format the data as the above type.

vyalanwumsft_0-1649754612841.png

 

If you do not format the data, power bi needs to select a data type for the data first, with percentage as decimal, date /time/time zone as date, duration as decimal, etc.
When you convert the data to percentage type in power query, but power bi can only treat it as a decimal, then you can format the data as a percentage to display the data.

 

You can vote on the idea so that developers can implement it faster.

https://ideas.powerbi.com/ideas/idea/?ideaid=8b5c6118-6b4f-458b-a715-80de0ee1ba9e


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

mahoneypat
Employee
Employee

Please see this article. You are better off changing the type of your data to decimal and formatting it to the desired format in your measure.

Calculate and Format Durations in DAX – Hoosier BI

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


tackytechtom
Super User
Super User

Hi @Clarafang ,

 

You might wanna try changing the format:

tomfox_0-1649365282937.png

 

Does this help? 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/

 



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

serpiva64
Super User
Super User

Hi,

you have to try to choose this format

serpiva64_0-1649365159679.png

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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