<?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 Datasets - Execute Queries with filtering on a string in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-with-filtering-on-a-string/m-p/3346031#M43561</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how do I filter a DAX statement with Power BI REST API (Execute Queries), when the filter is a string value?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like this works&lt;/P&gt;&lt;P&gt;FILTER ('table', 'table'[column] = FIRSTNONBLANK('table'[column], 'table'[column]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like this does not (and this is what I want to make work).&lt;/P&gt;&lt;P&gt;I guess, it is only about formating, since the " related to the filter value are understood as end of the JSON value from the PowerBI REST API&lt;/P&gt;&lt;P&gt;FILTER ('table', 'table'[columnArea] = "value")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any support!&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jul 2023 08:32:45 GMT</pubDate>
    <dc:creator>Tobias2019</dc:creator>
    <dc:date>2023-07-24T08:32:45Z</dc:date>
    <item>
      <title>Datasets - Execute Queries with filtering on a string</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-with-filtering-on-a-string/m-p/3346031#M43561</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how do I filter a DAX statement with Power BI REST API (Execute Queries), when the filter is a string value?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like this works&lt;/P&gt;&lt;P&gt;FILTER ('table', 'table'[column] = FIRSTNONBLANK('table'[column], 'table'[column]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like this does not (and this is what I want to make work).&lt;/P&gt;&lt;P&gt;I guess, it is only about formating, since the " related to the filter value are understood as end of the JSON value from the PowerBI REST API&lt;/P&gt;&lt;P&gt;FILTER ('table', 'table'[columnArea] = "value")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any support!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 08:32:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-with-filtering-on-a-string/m-p/3346031#M43561</guid>
      <dc:creator>Tobias2019</dc:creator>
      <dc:date>2023-07-24T08:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets - Execute Queries with filtering on a string</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-with-filtering-on-a-string/m-p/3347350#M43582</link>
      <description>&lt;P&gt;We had to use a delimator to escape the quotes. Ours is slightly different because we used to ExecuteQuery function in the request and did not have to use the single quotes for the table/columns, but for the = "value" portion ours looked something like:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;= \"value\"&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 20:17:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-with-filtering-on-a-string/m-p/3347350#M43582</guid>
      <dc:creator>KentKMishra</dc:creator>
      <dc:date>2023-07-24T20:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets - Execute Queries with filtering on a string</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-with-filtering-on-a-string/m-p/3348560#M43594</link>
      <description>&lt;P&gt;You are right! That worked. Thanks for the solution!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 11:29:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-with-filtering-on-a-string/m-p/3348560#M43594</guid>
      <dc:creator>Tobias2019</dc:creator>
      <dc:date>2023-07-25T11:29:26Z</dc:date>
    </item>
  </channel>
</rss>

