<?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 Re: i need the deneb vega clock need to take my measure and shoe date n time accordingly in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-need-the-deneb-vega-clock-need-to-take-my-measure-and-shoe/m-p/3315192#M124030</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="524503" data-lia-user-login="PbiwithPrasad" class="lia-mention lia-mention-user"&gt;PbiwithPrasad&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the Vega clock template in Power BI, but you need to modify it to show the time in your desired time zone. One way to do this is to use the DateTime.AddZone() and DateTimeZone.SwitchZone() functions in Power Query Editor to convert the UTC time to your desired time zone. You can then use this converted time in your Vega code to display the clock. Here is an example of how to do this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Load your data into Power Query Editor.&lt;/LI&gt;
&lt;LI&gt;Create a custom column using the following formula to add the default UTC time zone to your time column: DateTime.AddZone([Time],0)&lt;/LI&gt;
&lt;LI&gt;Create another custom column using the following formula to switch the time zone to your desired time zone: DateTimeZone.SwitchZone([ZoneTime],[UTC])&lt;/LI&gt;
&lt;LI&gt;Format the new column into date/time/timezone format.&lt;/LI&gt;
&lt;LI&gt;Use the converted time in your Vega code to display the clock.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Stephen Tao&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jul 2023 01:52:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-07-05T01:52:13Z</dc:date>
    <item>
      <title>i need the deneb vega clock need to take my measure and shoe date n time accordingly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-need-the-deneb-vega-clock-need-to-take-my-measure-and-shoe/m-p/3312719#M123899</link>
      <description>&lt;P&gt;i need the deneb vega clock need to take my measure and shoe date n time accordingly , for examples utc + 5:00 hours&amp;nbsp; which is my desired time zone&amp;nbsp; &amp;nbsp;time&amp;nbsp; and&amp;nbsp; how can i show it? pl help me urgent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in Vega examples we have a templet for clock but it works for now(), but i want it need to work for my desired zone, may be it can use a measure from data set or can be done inside the vega code , but it need to work for may desired time zone time.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 13:16:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-need-the-deneb-vega-clock-need-to-take-my-measure-and-shoe/m-p/3312719#M123899</guid>
      <dc:creator>PbiwithPrasad</dc:creator>
      <dc:date>2023-07-03T13:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: i need the deneb vega clock need to take my measure and shoe date n time accordingly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-need-the-deneb-vega-clock-need-to-take-my-measure-and-shoe/m-p/3313398#M123916</link>
      <description>&lt;P&gt;In the Vega clock template, replace "now()" with this expression, updated with the # of hrs you'd like to offset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"timeOffset('hours', now(), 2)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 00:36:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-need-the-deneb-vega-clock-need-to-take-my-measure-and-shoe/m-p/3313398#M123916</guid>
      <dc:creator>ppm1</dc:creator>
      <dc:date>2023-07-04T00:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: i need the deneb vega clock need to take my measure and shoe date n time accordingly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-need-the-deneb-vega-clock-need-to-take-my-measure-and-shoe/m-p/3315192#M124030</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="524503" data-lia-user-login="PbiwithPrasad" class="lia-mention lia-mention-user"&gt;PbiwithPrasad&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the Vega clock template in Power BI, but you need to modify it to show the time in your desired time zone. One way to do this is to use the DateTime.AddZone() and DateTimeZone.SwitchZone() functions in Power Query Editor to convert the UTC time to your desired time zone. You can then use this converted time in your Vega code to display the clock. Here is an example of how to do this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Load your data into Power Query Editor.&lt;/LI&gt;
&lt;LI&gt;Create a custom column using the following formula to add the default UTC time zone to your time column: DateTime.AddZone([Time],0)&lt;/LI&gt;
&lt;LI&gt;Create another custom column using the following formula to switch the time zone to your desired time zone: DateTimeZone.SwitchZone([ZoneTime],[UTC])&lt;/LI&gt;
&lt;LI&gt;Format the new column into date/time/timezone format.&lt;/LI&gt;
&lt;LI&gt;Use the converted time in your Vega code to display the clock.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Stephen Tao&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 01:52:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-need-the-deneb-vega-clock-need-to-take-my-measure-and-shoe/m-p/3315192#M124030</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-05T01:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: i need the deneb vega clock need to take my measure and shoe date n time accordingly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-need-the-deneb-vega-clock-need-to-take-my-measure-and-shoe/m-p/3341205#M125405</link>
      <description>&lt;P&gt;how do i need to add this&amp;nbsp;converted time in Vega code to display the clock.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 15:02:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-need-the-deneb-vega-clock-need-to-take-my-measure-and-shoe/m-p/3341205#M125405</guid>
      <dc:creator>PbiwithPrasad</dc:creator>
      <dc:date>2023-07-20T15:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: i need the deneb vega clock need to take my measure and shoe date n time accordingly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-need-the-deneb-vega-clock-need-to-take-my-measure-and-shoe/m-p/3341350#M125409</link>
      <description>&lt;P&gt;thak you &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443516" data-lia-user-login="ppm1" class="lia-mention lia-mention-user"&gt;ppm1&lt;/a&gt;&amp;nbsp;&amp;nbsp;, i got your point we can use utcoffset(),but how can we make it to take hours and minuits form two measures , i dont have idea on it can you plz make the code in detail.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is the default clock code. i need it to work with my measure. if my measures ( hours &amp;amp;minuits ) result is 5 H and 30 Min , it need to show utc + 5:30.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 16:02:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/i-need-the-deneb-vega-clock-need-to-take-my-measure-and-shoe/m-p/3341350#M125409</guid>
      <dc:creator>PbiwithPrasad</dc:creator>
      <dc:date>2023-07-20T16:02:50Z</dc:date>
    </item>
  </channel>
</rss>

