<?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: Page selection by Dax Code in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Page-selection-by-Dax-Code/m-p/2657899#M4734</link>
    <description>&lt;P&gt;In fact, I have two pages and I want to use Dax code which is shown by considering the time&lt;BR /&gt;my English is not well, thank you for your help&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2022 02:58:51 GMT</pubDate>
    <dc:creator>Shahabr</dc:creator>
    <dc:date>2022-07-25T02:58:51Z</dc:date>
    <item>
      <title>Page selection by Dax Code</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Page-selection-by-Dax-Code/m-p/2657450#M4723</link>
      <description>&lt;P&gt;I Want My page to be Dark by Recieving night time and get light by day time,i define two different page with dark and light background, i dont know how to use dax to define the situation ? help me please&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jul 2022 12:21:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Page-selection-by-Dax-Code/m-p/2657450#M4723</guid>
      <dc:creator>Shahabr</dc:creator>
      <dc:date>2022-07-24T12:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Page selection by Dax Code</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Page-selection-by-Dax-Code/m-p/2657489#M4724</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/416430"&gt;@Shahabr&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If I understood your question correctly, you need to be able to chagne the color of your Page background based on the hour of the day example, before 6 PM blue and after 6PM black.&lt;BR /&gt;Insert a shape on the page and expand it to cover the page, under STYPE&amp;gt; FILL use the follow meaure to apply conditional color&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Color = IF( HOUR(NOW()) &amp;gt; 18 , "Black" , "Blue")&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jul 2022 13:52:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Page-selection-by-Dax-Code/m-p/2657489#M4724</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2022-07-24T13:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Page selection by Dax Code</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Page-selection-by-Dax-Code/m-p/2657899#M4734</link>
      <description>&lt;P&gt;In fact, I have two pages and I want to use Dax code which is shown by considering the time&lt;BR /&gt;my English is not well, thank you for your help&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 02:58:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Page-selection-by-Dax-Code/m-p/2657899#M4734</guid>
      <dc:creator>Shahabr</dc:creator>
      <dc:date>2022-07-25T02:58:51Z</dc:date>
    </item>
  </channel>
</rss>

