Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi there,
Been searching online but it only shows how to format text and I want to show a time value if possible.
I have numerical values ranging from 458600 to 6 > which are the number of seconds between a start date/time and an end date/time.
I want to show this decimal as dd:hh:mm:ss or similar.
Solved! Go to Solution.
Hi,
Create a column as given below:
Column= SecondsColumn/86400.
Later select the Column and goto Modelling and change the DataType and Format as given below.
@hthota thanks for this, I have tested it and at first it looked perfect but values where the time is over 24 hours e.g. 155284 seconds - is being converted to 19:08:04 when it should be 43:08:04.
Is there an IF statement I should include for higher values?
🙂
Actually @hthota I understand why it doesn't like values over 24hrs - because i've converted it to a time, it turns 24 back into zero. This is ok, because I can filter our these values from any measures as my dataset is in QA and when we move to production we won't have call durations over a day!
Thanks once again.
User | Count |
---|---|
116 | |
73 | |
62 | |
49 | |
47 |
User | Count |
---|---|
173 | |
123 | |
60 | |
59 | |
57 |