<?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 Syntax for referencing a single item query using DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-for-referencing-a-single-item-query-using-DAX/m-p/4034799#M159863</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have created a single item query in Power Query:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to reference it in some DAX calculations. I'd be grateful if anyone could help me get the correct syntax:&lt;/P&gt;&lt;P&gt;&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;Many Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2024 13:47:57 GMT</pubDate>
    <dc:creator>mrandall86</dc:creator>
    <dc:date>2024-07-10T13:47:57Z</dc:date>
    <item>
      <title>Syntax for referencing a single item query using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-for-referencing-a-single-item-query-using-DAX/m-p/4034799#M159863</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have created a single item query in Power Query:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to reference it in some DAX calculations. I'd be grateful if anyone could help me get the correct syntax:&lt;/P&gt;&lt;P&gt;&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;Many Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 13:47:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-for-referencing-a-single-item-query-using-DAX/m-p/4034799#M159863</guid>
      <dc:creator>mrandall86</dc:creator>
      <dc:date>2024-07-10T13:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for referencing a single item query using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-for-referencing-a-single-item-query-using-DAX/m-p/4036100#M159953</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="527562" data-lia-user-login="mrandall86" class="lia-mention lia-mention-user"&gt;mrandall86&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ReportDate = SELECTEDVALUE ( _ReportDate[_ReportDate] )&lt;/LI-CODE&gt;
&lt;P&gt;This returns the single visible value in a column (if there is a single value) otherwise blank (by default).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this work for you?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 05:04:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-for-referencing-a-single-item-query-using-DAX/m-p/4036100#M159953</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2024-07-11T05:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for referencing a single item query using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-for-referencing-a-single-item-query-using-DAX/m-p/4036349#M159968</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="527562" data-lia-user-login="mrandall86" class="lia-mention lia-mention-user"&gt;mrandall86&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I created a table myself and implemented what you showed in Power Query.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;It looks like you want to show the first row of tabular data, and you're going from Power Query to DAX. I think you can create the following Measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = FIRSTNONBLANK('Table'[ReportDate],1)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&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;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 06:23:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-for-referencing-a-single-item-query-using-DAX/m-p/4036349#M159968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-11T06:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for referencing a single item query using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-for-referencing-a-single-item-query-using-DAX/m-p/4037192#M160030</link>
      <description>&lt;P&gt;Thanks so much for taking the time! This works and I understand why, which is nice &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 12:56:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-for-referencing-a-single-item-query-using-DAX/m-p/4037192#M160030</guid>
      <dc:creator>mrandall86</dc:creator>
      <dc:date>2024-07-11T12:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for referencing a single item query using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-for-referencing-a-single-item-query-using-DAX/m-p/4037194#M160031</link>
      <description>&lt;P&gt;Thanks Yilong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works and your instructions were very easy to follow. I appreciate your time and efforts.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 12:57:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Syntax-for-referencing-a-single-item-query-using-DAX/m-p/4037194#M160031</guid>
      <dc:creator>mrandall86</dc:creator>
      <dc:date>2024-07-11T12:57:56Z</dc:date>
    </item>
  </channel>
</rss>

