<?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: Result from DAX studio different from Power BI in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Result-from-DAX-studio-different-from-Power-BI/m-p/3230467#M118516</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for suggests , It could work as well.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 09:48:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-11T09:48:37Z</dc:date>
    <item>
      <title>Result from DAX studio different from Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Result-from-DAX-studio-different-from-Power-BI/m-p/3230433#M118513</link>
      <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm doing a lab with Power BI, using DAX studio connect to my dataset in power BI. I could get the result when write the dax code in dax studio, but It got failure when I try this measure with Power BI, could someone assist me ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is the code in DAX studio and it could get the correct result&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EVALUATE
		var temp = 
			SUMMARIZE(all_data1,all_data1[Illness],"SUM",SUMX(all_data1,all_data1[Paid amount]))
		return
			TOPN(10,temp,[SUM],DESC)&lt;/LI-CODE&gt;&lt;P&gt;Here is the measure which I tried with Power BI , it said &lt;STRONG&gt;&lt;EM&gt;"The expression refers to multiple columns. Multiple columns can not be convert to a scalar value"&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;top10 = 
    var temp = 
            SUMMARIZE(all_data1,all_data1[Illness],"SUM",SUMX(all_data1,all_data1[Paid amount]))
    return 
        TOPN(10,temp,[SUM])
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 09:27:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Result-from-DAX-studio-different-from-Power-BI/m-p/3230433#M118513</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-11T09:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Result from DAX studio different from Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Result-from-DAX-studio-different-from-Power-BI/m-p/3230452#M118514</link>
      <description>&lt;P&gt;hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX studio returns a table, while a measure returns a scalar/single value. That is the issue. So in a measure definition, the outmost or last function is typically count/sum(x)/min/max.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 09:40:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Result-from-DAX-studio-different-from-Power-BI/m-p/3230452#M118514</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-05-11T09:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Result from DAX studio different from Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Result-from-DAX-studio-different-from-Power-BI/m-p/3230467#M118516</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for suggests , It could work as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 09:48:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Result-from-DAX-studio-different-from-Power-BI/m-p/3230467#M118516</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-11T09:48:37Z</dc:date>
    </item>
  </channel>
</rss>

