<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How format Average Time in Power BI: Converting 60 Seconds to 1 Minute in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-format-Average-Time-in-Power-BI-Converting-60-Seconds-to-1/m-p/4128166#M163948</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm working with time data in Power BI and need some help with formatting the average time correctly. Specifically, I want to ensure that when calculating the average, 60 seconds are automatically converted to 1 minute.&lt;/P&gt;&lt;P&gt;For example, I calculated the average of seconds from my data, and it currently displays as 95.00 seconds, as shown&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of showing the result as 95.00 seconds, I want it to display in the format of minutes and seconds (e.g., 1:35 for 1 minute and 35 seconds).&lt;/P&gt;&lt;P&gt;Could someone guide me on how to achieve this in Power BI? Here's the DAX formula I tried:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 01 Sep 2024 05:11:04 GMT</pubDate>
    <dc:creator>AT150745</dc:creator>
    <dc:date>2024-09-01T05:11:04Z</dc:date>
    <item>
      <title>How format Average Time in Power BI: Converting 60 Seconds to 1 Minute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-format-Average-Time-in-Power-BI-Converting-60-Seconds-to-1/m-p/4128166#M163948</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm working with time data in Power BI and need some help with formatting the average time correctly. Specifically, I want to ensure that when calculating the average, 60 seconds are automatically converted to 1 minute.&lt;/P&gt;&lt;P&gt;For example, I calculated the average of seconds from my data, and it currently displays as 95.00 seconds, as shown&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of showing the result as 95.00 seconds, I want it to display in the format of minutes and seconds (e.g., 1:35 for 1 minute and 35 seconds).&lt;/P&gt;&lt;P&gt;Could someone guide me on how to achieve this in Power BI? Here's the DAX formula I tried:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Sep 2024 05:11:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-format-Average-Time-in-Power-BI-Converting-60-Seconds-to-1/m-p/4128166#M163948</guid>
      <dc:creator>AT150745</dc:creator>
      <dc:date>2024-09-01T05:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: How format Average Time in Power BI: Converting 60 Seconds to 1 Minute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-format-Average-Time-in-Power-BI-Converting-60-Seconds-to-1/m-p/4128176#M163949</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="791252" data-lia-user-login="AT150745" class="lia-mention lia-mention-user"&gt;AT150745&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am assuming your seconds column is a numeric column. You can try this pattern:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;TotalTime = 
Var __TotalSeconds = SUM('Time'[Seconds])
Var __Minutes = INT( DIVIDE(__TotalSeconds , 60)) 
Var __Seoncds = MOD(__TotalSeconds,60)
Var Result = __Minutes &amp;amp; ":" &amp;amp; __Seoncds
RETURN Result &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need a Power BI Consultation? Hire me on &lt;A href="https://bit.ly/4d3oy4s" target="_blank" rel="noopener"&gt;Upwork&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Connect on &lt;A href="https://www.linkedin.com/in/tharun-kumar-ravikrindhi/" target="_blank" rel="noopener"&gt;LinkedIn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class=""&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class=""&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV style="border-radius: 1px; padding: 10px; border: solid #cccccc 1px; background: #fafafa no-repeat right 10px center;"&gt;&lt;BR /&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;STRONG style="margin-right: 3px;"&gt;&lt;STRONG style="margin-right: 3px;"&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;STRONG style="margin-right: 3px;"&gt;&lt;STRONG style="margin-right: 3px;"&gt;If I helped you, click on the Thumbs Up to give Kudos.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;BR /&gt;
&lt;P style="padding: 0; margin: 5px 50px 0 0;"&gt;Proud to be a Super User!&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 01 Sep 2024 05:41:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-format-Average-Time-in-Power-BI-Converting-60-Seconds-to-1/m-p/4128176#M163949</guid>
      <dc:creator>tharunkumarRTK</dc:creator>
      <dc:date>2024-09-01T05:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: How format Average Time in Power BI: Converting 60 Seconds to 1 Minute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-format-Average-Time-in-Power-BI-Converting-60-Seconds-to-1/m-p/4128180#M163950</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="791252" data-lia-user-login="AT150745" class="lia-mention lia-mention-user"&gt;AT150745&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try the measure below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;FormattedTime = 
VAR TotalSeconds = [average]
VAR Minutes = INT(TotalSeconds / 60)
VAR Seconds = MOD(TotalSeconds, 60)
RETURN 
    FORMAT(Minutes, "0") &amp;amp; ":" &amp;amp; FORMAT(Seconds, "00")
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Best regards,&lt;/P&gt;</description>
      <pubDate>Sun, 01 Sep 2024 05:47:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-format-Average-Time-in-Power-BI-Converting-60-Seconds-to-1/m-p/4128180#M163950</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2024-09-01T05:47:52Z</dc:date>
    </item>
  </channel>
</rss>

