<?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: Working with DATATBALE in Query View! Is this some kind of bug or am I doing something wrong? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-with-DATATBALE-in-Query-View-Is-this-some-kind-of-bug-or/m-p/3870997#M151208</link>
    <description>&lt;P&gt;It;s a known limitation/bug. DAX Query View only works if you include at least one artifact from the existing data model.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2024 11:55:39 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-04-26T11:55:39Z</dc:date>
    <item>
      <title>Working with DATATBALE in Query View! Is this some kind of bug or am I doing something wrong?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-with-DATATBALE-in-Query-View-Is-this-some-kind-of-bug-or/m-p/3870932#M151203</link>
      <description>&lt;P&gt;I was playing around with the &lt;STRONG&gt;Query View in Power BI Desktop&lt;/STRONG&gt;. I wanted to create a table from scratch without importing from any source and then I wanted to show output of the table also perform some calculations on it later. I thought of using&amp;nbsp;&lt;STRONG&gt;Table Constructor&lt;/STRONG&gt; first but as it doesn't allow to give names to the columns directly so I used &lt;STRONG&gt;DATATABLE&lt;/STRONG&gt; instead. I tried to run this query in the Query View:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DEFINE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;Sample_Table&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;DATATABLE&lt;/SPAN&gt;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;"Etaati"&lt;/SPAN&gt;&lt;SPAN&gt;,},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/SPAN&gt;&lt;SPAN&gt;"someone"&lt;/SPAN&gt;&lt;SPAN&gt;,,&lt;/SPAN&gt;&lt;SPAN&gt;"2019-2-10"&lt;/SPAN&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/SPAN&gt;&lt;SPAN&gt;"Unknown"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;blank&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;SPAN&gt;"2019-2-10"&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;EVALUATE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;EVALUATEANDLOG&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sample_Table&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Then I got the error: "&lt;STRONG&gt;DAX Evaluate queries work only on databases which have at least one tables.&lt;/STRONG&gt;"&lt;BR /&gt;&lt;BR /&gt;Now after searching on google and asking copilot, I didn't get anything relevant to this. Then finally I decided to make a &lt;STRONG&gt;Calculated Table&lt;/STRONG&gt; and as usual it worked and I could perform all the operations. Now I tried once again to debug the previous code. So I deleted that Caluclated Table and then ran the query, that I've provided above, in the Query View. To my surprise, the query ran and gave the output. I thought it maybe because of cache so I canged the values in DATATABLE and again the query gave output with changed values.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To summarize this, I am providing the recording of the same. &lt;STRONG&gt;Please tell if this is some kind of bug or is there something wrong with the code&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;A title="Power BI Problem" href="https://6wc0bj-my.sharepoint.com/:v:/g/personal/sid2022_6wc0bj_onmicrosoft_com/ERMXlc1GqcJDtv8ur8fqyucBn7PLXl1QJTj8_ZDeX5QuVw?nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJPbmVEcml2ZUZvckJ1c2luZXNzIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXciLCJyZWZlcnJhbFZpZXciOiJNeUZpbGVzTGlua0NvcHkifX0&amp;amp;e=KmvQEF" target="_blank" rel="noopener"&gt;Link to Video&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 Apr 2024 11:10:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-with-DATATBALE-in-Query-View-Is-this-some-kind-of-bug-or/m-p/3870932#M151203</guid>
      <dc:creator>SidArt0731</dc:creator>
      <dc:date>2024-04-26T11:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Working with DATATBALE in Query View! Is this some kind of bug or am I doing something wrong?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-with-DATATBALE-in-Query-View-Is-this-some-kind-of-bug-or/m-p/3870997#M151208</link>
      <description>&lt;P&gt;It;s a known limitation/bug. DAX Query View only works if you include at least one artifact from the existing data model.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 11:55:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-with-DATATBALE-in-Query-View-Is-this-some-kind-of-bug-or/m-p/3870997#M151208</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-26T11:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Working with DATATBALE in Query View! Is this some kind of bug or am I doing something wrong?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-with-DATATBALE-in-Query-View-Is-this-some-kind-of-bug-or/m-p/3871093#M151218</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm already going through the documentation (&lt;A href="https://learn.microsoft.com/en-us/power-bi/transform-model/dax-query-view" target="_self"&gt;Query View&lt;/A&gt;). Can you please provide some kind of citation?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 12:37:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-with-DATATBALE-in-Query-View-Is-this-some-kind-of-bug-or/m-p/3871093#M151218</guid>
      <dc:creator>SidArt0731</dc:creator>
      <dc:date>2024-04-26T12:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Working with DATATBALE in Query View! Is this some kind of bug or am I doing something wrong?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-with-DATATBALE-in-Query-View-Is-this-some-kind-of-bug-or/m-p/3871151#M151222</link>
      <description>&lt;P&gt;Ask Zoe or Amanda.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 13:02:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-with-DATATBALE-in-Query-View-Is-this-some-kind-of-bug-or/m-p/3871151#M151222</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-26T13:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Working with DATATBALE in Query View! Is this some kind of bug or am I doing something wrong?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-with-DATATBALE-in-Query-View-Is-this-some-kind-of-bug-or/m-p/3871184#M151223</link>
      <description>&lt;P&gt;It is not mention clearly in the below link that&amp;nbsp;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;STRONG&gt;DAX Evaluate queries work only on databases which have at least one tables.&lt;/STRONG&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/transform-model/dax-query-view" target="_blank"&gt;DAX query view in Power BI Desktop - Power BI | Microsoft Learn&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;But for now it is limitation, that DAX Query View only works if we inculde atleast on entity/table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not necessary to mention any artifact from existing data model.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I hope you find it helpful.&lt;BR /&gt;Thanking You!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 13:19:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-with-DATATBALE-in-Query-View-Is-this-some-kind-of-bug-or/m-p/3871184#M151223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-26T13:19:17Z</dc:date>
    </item>
  </channel>
</rss>

