Power BI TIME Formatting Made Simple || Convert Seconds to mm:ss or hh:mm:ss !!

Sdílet
Vložit
  • čas přidán 8. 09. 2024

Komentáře • 25

  • @jessielivermore1826
    @jessielivermore1826 Před 5 měsíci +1

    I'm relaxed AND learning something new at the same time! Thank you Isabella.

  • @Dansel_B
    @Dansel_B Před 9 měsíci +1

    wow! that was a great trick! thank you, beautiful Isabella 😘 please make more videos on DAX PBI

  • @allyitaly
    @allyitaly Před 7 měsíci

    Wow, it's great! You are fabulous! You saved my life :) Thanks a lot!

  • @manojmenezes8996
    @manojmenezes8996 Před 5 měsíci

    This is awesome 👏👏👏

  • @HaroldsPurpleCrownTraining
    @HaroldsPurpleCrownTraining Před 3 měsíci

    Nice video! Chelsie Eiden's Duration solves all these issues. You can aggregate time too.

    • @LighthouseAnalytix
      @LighthouseAnalytix  Před 3 měsíci

      Please tell us more about it...

    • @HaroldsPurpleCrownTraining
      @HaroldsPurpleCrownTraining Před 3 měsíci

      @@LighthouseAnalytix Use this to iterate and aggregate: SUMX, AVERAGEX, MINX, MAXX etc.
      Total Late Time =
      VAR TotalSeconds = SUMX(railway, HOUR(railway[Late Time]) * 3600 + MINUTE(railway[Late Time]) * 60 + SECOND(railway[Late Time]))
      VAR Days = INT(TotalSeconds / (24 * 3600))
      VAR Hours = INT(MOD(TotalSeconds - Days * 24 * 3600, 24 * 3600) / 3600)
      VAR Minutes = INT(MOD(TotalSeconds - Days * 24 * 3600 - Hours * 3600, 3600) / 60)
      VAR Seconds = MOD(TotalSeconds, 60)
      RETURN
      FORMAT(Days, "00") & ":" & FORMAT(Hours, "00") & ":" & FORMAT(Minutes, "00") & ":" & FORMAT(Seconds, "00")
      Simple but powerful. Chelsie Eiden at Microsoft wrote it. Google her. I always give her credit.
      Harold

  • @gauthamk1485
    @gauthamk1485 Před 8 měsíci

    Awesome! as usual, I'm flattered with your voice

  • @ashcb77
    @ashcb77 Před 3 dny

    Hi there one question when you try to shorten the forma to NN:SS it shows yo the incorrect no to represent 3601 second it must be 60:01 for minutes and seconds , isn't it?

  • @black_south5222
    @black_south5222 Před 6 měsíci

    Hello ni would like to thank you about that video it's really helpfull , but i have a question if i have average handling time for each call per agent and i i don't want to Summarize the hall coulmn how i can do it so i can vizualize the AHT for each agent

  • @user-kf4kj7vd5b
    @user-kf4kj7vd5b Před 6 měsíci

    Thank you for the tutorial,
    Btw why I cannot drag "Test duration 2" to Y axis after i covert follow your formula??

    • @LighthouseAnalytix
      @LighthouseAnalytix  Před 6 měsíci

      Hm... a bit tricky for me to trouble shoot with out looking at the specific file.

  • @priyal_001
    @priyal_001 Před 9 měsíci

    Hi
    I know off topic but , I have a power bi report which has a huge data model. Is there any way by which we can understand how is it created

    • @LighthouseAnalytix
      @LighthouseAnalytix  Před 9 měsíci

      Absolutely... that's should be our first step whenever we want to build a Power BI report. Always start with understanding the data model.
      Who build it? How will it be updated? Automatically scheduled? Manually?
      Where does the data come from? Datawarehouse? Excel File? External data source?

  • @priyal_001
    @priyal_001 Před 9 měsíci

    Can you tell me one more thing.
    I am taking data from SQL server and then transforming the data. But it gives me one error when I close and apply
    ODBC error data source error, Microsoft SQL Execution Timeout expired . The timeout period elapsed prior to the completion of the operation or the server is not responding. An unexpected exception occurred

  • @lautaroramos4135
    @lautaroramos4135 Před 5 měsíci

    I was trying to apply the third option but my sum went over 24 hours, so i can’t display the data labels. is there any way to solve this?

    • @LighthouseAnalytix
      @LighthouseAnalytix  Před 5 měsíci

      Have you tried watching this video?
      czcams.com/video/xnIMJjzDKZ4/video.html

  • @Bedrock-Tech-Talks
    @Bedrock-Tech-Talks Před 7 měsíci

    The third option is great and seemed to work at first but then my sum went over 24hours and it broke :(

    • @LighthouseAnalytix
      @LighthouseAnalytix  Před 7 měsíci

      modify your dax... so that the time conversion is only done at the very end.... perhaps at the total level. How did you go so far?