<?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 Need help on Dax Command to Pull Data from Analysis Service Cube in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-on-Dax-Command-to-Pull-Data-from-Analysis-Service-Cube/m-p/3877293#M151389</link>
    <description>&lt;P&gt;I have 2 Tables in Analysis Service and I need help for a Dax query to run on Dax Studio to pull Data including executing the measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table-1:&amp;nbsp;&amp;nbsp;'&lt;SPAN&gt;Create Date' is a Calendar Table. Columns: DateId, CalendarDate, FiscalYear, FiscalQtr, CalendarMonth,&amp;nbsp;Calendar Month and Many other columns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sample Data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table-2: 'OpsView' is the table with Measures.&lt;/P&gt;&lt;P&gt;Columns: DateId, ReportingMonth, Region, RI&lt;/P&gt;&lt;P&gt;Measures: OpsRIRolling, RIRateRolling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ReportingMonth is Date type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Power BI we have a Line and Staked Column Chart that has:&lt;/P&gt;&lt;P&gt;X-axis =&amp;nbsp;'&lt;SPAN&gt;Create Date'[CalendarMonth]&amp;nbsp; (formated as below)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Y-axis =&amp;nbsp;'OpsView'[RI]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Line Y-axis =&amp;nbsp;'OpsView'[RIRateRolling]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample Data in Table visual:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the report has below Filters:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'OpsView'[Region] = ALL .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'Create Date'[Calendar Month] = Date Slicer for last 12 Months.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need help to build a DAX query to execute in DaxStudio to get exact data similar as in the table visual.&lt;BR /&gt;Like: MonthName, RI, OpsRIRolling, RIRateRolling, FiscalYear&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It should be group By&amp;nbsp;&amp;nbsp;'&lt;SPAN&gt;Create Date'[CalendarMonth] as in the table visual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also with that data if we can include region that will be good so in my data I can filter the result per region.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Prabhat&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 02:14:43 GMT</pubDate>
    <dc:creator>prabhatnath</dc:creator>
    <dc:date>2024-04-30T02:14:43Z</dc:date>
    <item>
      <title>Need help on Dax Command to Pull Data from Analysis Service Cube</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-on-Dax-Command-to-Pull-Data-from-Analysis-Service-Cube/m-p/3877293#M151389</link>
      <description>&lt;P&gt;I have 2 Tables in Analysis Service and I need help for a Dax query to run on Dax Studio to pull Data including executing the measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table-1:&amp;nbsp;&amp;nbsp;'&lt;SPAN&gt;Create Date' is a Calendar Table. Columns: DateId, CalendarDate, FiscalYear, FiscalQtr, CalendarMonth,&amp;nbsp;Calendar Month and Many other columns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sample Data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table-2: 'OpsView' is the table with Measures.&lt;/P&gt;&lt;P&gt;Columns: DateId, ReportingMonth, Region, RI&lt;/P&gt;&lt;P&gt;Measures: OpsRIRolling, RIRateRolling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ReportingMonth is Date type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Power BI we have a Line and Staked Column Chart that has:&lt;/P&gt;&lt;P&gt;X-axis =&amp;nbsp;'&lt;SPAN&gt;Create Date'[CalendarMonth]&amp;nbsp; (formated as below)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Y-axis =&amp;nbsp;'OpsView'[RI]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Line Y-axis =&amp;nbsp;'OpsView'[RIRateRolling]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample Data in Table visual:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the report has below Filters:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'OpsView'[Region] = ALL .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'Create Date'[Calendar Month] = Date Slicer for last 12 Months.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need help to build a DAX query to execute in DaxStudio to get exact data similar as in the table visual.&lt;BR /&gt;Like: MonthName, RI, OpsRIRolling, RIRateRolling, FiscalYear&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It should be group By&amp;nbsp;&amp;nbsp;'&lt;SPAN&gt;Create Date'[CalendarMonth] as in the table visual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also with that data if we can include region that will be good so in my data I can filter the result per region.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Prabhat&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 02:14:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-on-Dax-Command-to-Pull-Data-from-Analysis-Service-Cube/m-p/3877293#M151389</guid>
      <dc:creator>prabhatnath</dc:creator>
      <dc:date>2024-04-30T02:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on Dax Command to Pull Data from Analysis Service Cube</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-on-Dax-Command-to-Pull-Data-from-Analysis-Service-Cube/m-p/3879391#M151445</link>
      <description>&lt;P&gt;Connect to the cube live.&amp;nbsp; Add the required data elements to&amp;nbsp; a table visual. Disable totals. Run Performance Analyzer and grab the DAX query for that visual.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 12:02:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-on-Dax-Command-to-Pull-Data-from-Analysis-Service-Cube/m-p/3879391#M151445</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-30T12:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on Dax Command to Pull Data from Analysis Service Cube</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-on-Dax-Command-to-Pull-Data-from-Analysis-Service-Cube/m-p/3881710#M151512</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;Thanks for your contribution on this thread.&lt;/P&gt;
&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="514016" data-lia-user-login="prabhatnath" class="lia-mention lia-mention-user"&gt;prabhatnath&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can apply the below DAX query in DAX Studio:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;EVALUATE
SUMMARIZE (
    FILTER (
        'Create Date',
        'Create Date'[CalendarMonth]
            &amp;gt;= DATE ( YEAR ( TODAY () ) - 1, MONTH ( TODAY () ), 1 )
            &amp;amp;&amp;amp; 'Create Date'[CalendarMonth] &amp;lt;= TODAY ()
    ),
    'Create Date'[CalendarMonth],
    "RI", CALCULATE ( SUM ( 'OpsView'[RI] ) ),
    "OpsRIRolling", CALCULATE ( SUM ( 'OpsView'[OpsRIRolling] ) ),
    "RIRateRolling", CALCULATE ( SUM ( 'OpsView'[RIRateRolling] ) ),
    "FiscalYear", 'Create Date'[FiscalYear],
    "Region", 'OpsView'[Region]
)
ORDER BY 'Create Date'[CalendarMonth]&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 07:48:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-on-Dax-Command-to-Pull-Data-from-Analysis-Service-Cube/m-p/3881710#M151512</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-01T07:48:22Z</dc:date>
    </item>
  </channel>
</rss>

