<?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: Dax search in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-search/m-p/3687193#M143233</link>
    <description>&lt;P&gt;Hello Alberto, thank you for responding. The numbers I gave was just an example. Should I use INT instead of the whole number? How can I use both the conditions in the same query as I need to search for the data in same table.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 02:56:07 GMT</pubDate>
    <dc:creator>Rish2580</dc:creator>
    <dc:date>2024-02-08T02:56:07Z</dc:date>
    <item>
      <title>Dax search</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-search/m-p/3686685#M143213</link>
      <description>&lt;P&gt;Hello, I am trying &amp;nbsp;to develop a &amp;nbsp;dax query to search for data in a table. Basically the query should search for data in a table which has both integers and decimal values. &amp;nbsp;If I search "99" I should get all the records with 99 in it and if I search "99.99" I should get all the records with 99.99 (for example) can some please help me with the logic.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 20:38:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-search/m-p/3686685#M143213</guid>
      <dc:creator>Rish2580</dc:creator>
      <dc:date>2024-02-07T20:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dax search</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-search/m-p/3687113#M143229</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="687103" data-lia-user-login="Rish2580" class="lia-mention lia-mention-user"&gt;Rish2580&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Based on your description, you can use the following functions in a dax query to accomplish your goal.&lt;/P&gt;
&lt;P&gt;Here some steps that I want to share, you can check them if they suitable for your requirement.&lt;/P&gt;
&lt;P&gt;Here is my test data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Create dax query&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;EVALUATE
FILTER(
    'Table',
    'Table'[Whole number] = 99
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;EVALUATE
FILTER(
    'Table',
    ROUND('Table'[Decimal number], 2) = 99.99
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Final output&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;Albert He&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;, then please consider&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to help the other members find it more quickly&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 02:57:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-search/m-p/3687113#M143229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-08T02:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dax search</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-search/m-p/3687193#M143233</link>
      <description>&lt;P&gt;Hello Alberto, thank you for responding. The numbers I gave was just an example. Should I use INT instead of the whole number? How can I use both the conditions in the same query as I need to search for the data in same table.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 02:56:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-search/m-p/3687193#M143233</guid>
      <dc:creator>Rish2580</dc:creator>
      <dc:date>2024-02-08T02:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dax search</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-search/m-p/3687221#M143235</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="687103" data-lia-user-login="Rish2580" class="lia-mention lia-mention-user"&gt;Rish2580&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Set the format of the power bi data as shown in the figure. A column in power bi can only have one data format.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you want to do both, you can try merging these two pieces of code&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;EVALUATE
FILTER(
    'Table',
	'Table'[Whole number] = 99 ||
    ROUND('Table'[Decimal number], 2) = 99.99
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;Albert He&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;, then please consider&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to help the other members find it more quickly&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 03:10:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-search/m-p/3687221#M143235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-08T03:10:08Z</dc:date>
    </item>
  </channel>
</rss>

