<?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 Lookup to return a value based on User selection in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Lookup-to-return-a-value-based-on-User-selection/m-p/2410789#M35113</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm looking for advice on the best way to return a corresponding date/time serial number based on a user-selected date and time selection so that the user can then use the date/time serial number to filter records using an existing table that has a date/time serial column stored as a decimal (eg.&amp;nbsp; 44378.41667 is the serial number for 1 July 2021 10:00 AM).&lt;/P&gt;&lt;P&gt;This is my attempt to get around the lack of a pure date/time filter in Power BI that allows the using to select &lt;STRONG&gt;both date and time &lt;/STRONG&gt;using the &lt;STRONG&gt;between&lt;/STRONG&gt; option.&amp;nbsp; Not interested in "relative" dates and times but using the actual date and time in the form of a date/time serial numbers in a from and to filter as a workaround for now given the intended use of the report.&lt;/P&gt;&lt;P&gt;Any ideas and solutions here will be greatly appreciated.&amp;nbsp; It is a critical issue for us given the nature of our business (emergency services).&amp;nbsp; A shame that other BI products have this feature but Power BI does not.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Waydec&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 00:00:25 GMT</pubDate>
    <dc:creator>waydec</dc:creator>
    <dc:date>2022-03-23T00:00:25Z</dc:date>
    <item>
      <title>Lookup to return a value based on User selection</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Lookup-to-return-a-value-based-on-User-selection/m-p/2410789#M35113</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm looking for advice on the best way to return a corresponding date/time serial number based on a user-selected date and time selection so that the user can then use the date/time serial number to filter records using an existing table that has a date/time serial column stored as a decimal (eg.&amp;nbsp; 44378.41667 is the serial number for 1 July 2021 10:00 AM).&lt;/P&gt;&lt;P&gt;This is my attempt to get around the lack of a pure date/time filter in Power BI that allows the using to select &lt;STRONG&gt;both date and time &lt;/STRONG&gt;using the &lt;STRONG&gt;between&lt;/STRONG&gt; option.&amp;nbsp; Not interested in "relative" dates and times but using the actual date and time in the form of a date/time serial numbers in a from and to filter as a workaround for now given the intended use of the report.&lt;/P&gt;&lt;P&gt;Any ideas and solutions here will be greatly appreciated.&amp;nbsp; It is a critical issue for us given the nature of our business (emergency services).&amp;nbsp; A shame that other BI products have this feature but Power BI does not.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Waydec&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 00:00:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Lookup-to-return-a-value-based-on-User-selection/m-p/2410789#M35113</guid>
      <dc:creator>waydec</dc:creator>
      <dc:date>2022-03-23T00:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup to return a value based on User selection</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Lookup-to-return-a-value-based-on-User-selection/m-p/2417300#M35157</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/215415"&gt;@waydec&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a calculated table to show&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;datetime in decimal format.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;FromDateTime = GENERATESERIES(INT(MIN(Data[StartDateTime])), INT(MAX(Data[EndDateTime]))+1, 0.01)&lt;/LI-CODE&gt;
&lt;P&gt;Then create a calculated column to show datetime format.&lt;/P&gt;
&lt;P&gt;Measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;FromDateTime Value = SELECTEDVALUE(FromDateTime[FromDateTime], INT(TODAY())-1)&lt;/LI-CODE&gt;
&lt;P&gt;Calculated column:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SelectedFromDateTime = [FromDateTime Value]&lt;/LI-CODE&gt;
&lt;P&gt;Table looks like as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 267px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/689888i8C9DEC7A2020B2EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Slicer looks like as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/689889i7250C3DE908FB113/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For more details you may refer to this blog:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Data-Stories-Gallery/How-To-DataTime-Range-Slicer/m-p/306357#M1255" target="_self"&gt;How To DataTime Range Slicer&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Your demand is a good idea, while it is not supported to implement in Power BI currently.&lt;BR /&gt;You can submit a new &lt;A href="https://ideas.powerbi.com/ideas/search-ideas/" target="_self"&gt;idea&lt;/A&gt; to improve the Power BI.&lt;BR /&gt;It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 08:56:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Lookup-to-return-a-value-based-on-User-selection/m-p/2417300#M35157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-25T08:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup to return a value based on User selection</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Lookup-to-return-a-value-based-on-User-selection/m-p/2419023#M35166</link>
      <description>&lt;P&gt;Hi @Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Awesome, this works for me.&amp;nbsp; Thank you very kindly.&amp;nbsp; I did post the concept as an Idea a while back but no luck so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Waydec&lt;/P&gt;</description>
      <pubDate>Sat, 26 Mar 2022 04:55:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Lookup-to-return-a-value-based-on-User-selection/m-p/2419023#M35166</guid>
      <dc:creator>waydec</dc:creator>
      <dc:date>2022-03-26T04:55:05Z</dc:date>
    </item>
  </channel>
</rss>

