<?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 Query in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/DAX-Query/m-p/746081#M11044</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="147481" data-lia-user-login="GuestUser" class="lia-mention lia-mention-user"&gt;GuestUser&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the sales amount is showing incorrect - It is showing same values for all&lt;/P&gt;&lt;P&gt;it is not doing group by&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That typically indicates that there is not an active one to many relationship between the store and sales and category and sales.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jul 2019 20:23:55 GMT</pubDate>
    <dc:creator>d_gosbell</dc:creator>
    <dc:date>2019-07-22T20:23:55Z</dc:date>
    <item>
      <title>DAX Query</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/DAX-Query/m-p/744482#M11022</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have Power BI Report Server (May 2019) edition&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Power BI is connected with datasource SSAS (COnnect Live Option) - we understand that edit queries (Power query) gets disabled -- So group by option cant be used&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can u please help me out to write DAX measures to achieve the following (The tables are already joined in SSAS)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;select&lt;BR /&gt;B.type,&lt;BR /&gt;C.category,&lt;BR /&gt;sum(sales_amount)&lt;/P&gt;&lt;P&gt;from&lt;BR /&gt;fact A,&lt;BR /&gt;storedim B,&lt;BR /&gt;categorydim C&lt;/P&gt;&lt;P&gt;where A.store_wid = B.row_wid&lt;BR /&gt;and A.category_wid = C.row_wid&lt;/P&gt;&lt;P&gt;group by&lt;/P&gt;&lt;P&gt;B.type,&lt;BR /&gt;C.category,&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 12:10:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/DAX-Query/m-p/744482#M11022</guid>
      <dc:creator>GuestUser</dc:creator>
      <dc:date>2019-07-19T12:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Query</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/DAX-Query/m-p/745238#M11030</link>
      <description>&lt;P&gt;You should not need to do anything in Power Query for this. If the tables are already joined just dragging the type, category and sales amount onto a table visual should give you the same output as that SQL query.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 00:44:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/DAX-Query/m-p/745238#M11030</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2019-07-22T00:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Query</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/DAX-Query/m-p/745960#M11042</link>
      <description>&lt;P&gt;Thanks for replying!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it is not working as expected!!&lt;/P&gt;&lt;P&gt;We have created Sum(Sales_Amount) measure&lt;/P&gt;&lt;P&gt;and dragged columns store_type , category and sum(sales_amount) on table visual&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the sales amount is showing incorrect - It is showing same values for all&lt;/P&gt;&lt;P&gt;it is not doing group by&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions pls&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 16:37:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/DAX-Query/m-p/745960#M11042</guid>
      <dc:creator>GuestUser</dc:creator>
      <dc:date>2019-07-22T16:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Query</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/DAX-Query/m-p/746081#M11044</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="147481" data-lia-user-login="GuestUser" class="lia-mention lia-mention-user"&gt;GuestUser&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the sales amount is showing incorrect - It is showing same values for all&lt;/P&gt;&lt;P&gt;it is not doing group by&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That typically indicates that there is not an active one to many relationship between the store and sales and category and sales.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 20:23:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/DAX-Query/m-p/746081#M11044</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2019-07-22T20:23:55Z</dc:date>
    </item>
  </channel>
</rss>

