<?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: Table with multiple values error in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-with-multiple-values-error/m-p/2080018#M47164</link>
    <description>&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1pokK9-vwmBHNggjY5tYyZZAoOQVoFAXf/view?usp=sharing" target="_blank"&gt;Here is a copy of the pbix file.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this can help.... really lost no&lt;/P&gt;</description>
    <pubDate>Thu, 16 Sep 2021 10:31:17 GMT</pubDate>
    <dc:creator>mymoosa</dc:creator>
    <dc:date>2021-09-16T10:31:17Z</dc:date>
    <item>
      <title>Table with multiple values error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-with-multiple-values-error/m-p/2064323#M46635</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the measure i have created ... it gives me an error saying multiple values ... when i add a filter for TaskGrade.&amp;nbsp; The reason for this filter is : Students in Grade 11 2021 Term 1 marks need to be analysed against Grade 10 2020 Term 4 marks.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PT1 = switch(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;max('View_SBA_GLS_Per_Student_Total'[Term])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,"Term 1",0+ CALCULATE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AVERAGE(View_SBA_GLS_Per_Student_Total[TotalWM])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,'View_SBA_GLS_Per_Student_Total'[Term]="Term 4",value('View_SBA_GLS_Per_Student_Total'[Year]) = DISTINCT('View_SBA_GLS_Per_Student_Total'[PrevYr]), value('View_SBA_GLS_Per_Student_Total'[TaskGrade]) = DISTINCT('View_SBA_GLS_Per_Student_Total'[PrevYrGr]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,"Term 2", 0 + CALCULATE(AVERAGE(View_SBA_GLS_Per_Student_Total[TotalWM]),'View_SBA_GLS_Per_Student_Total'[Term]="Term 1")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,"Term 3",0 + CALCULATE(AVERAGE(View_SBA_GLS_Per_Student_Total[TotalWM]),'View_SBA_GLS_Per_Student_Total'[Term]="Term 2")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,"Term 4",0 + CALCULATE(AVERAGE(View_SBA_GLS_Per_Student_Total[TotalWM]),'View_SBA_GLS_Per_Student_Total'[Term]="Term 3"))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I do not know why it is bringing thru multiple values... as the PrevYr column works perfectly.&amp;nbsp; Should PrevYrGr not work just the same&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Sep 2021 13:01:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-with-multiple-values-error/m-p/2064323#M46635</guid>
      <dc:creator>mymoosa</dc:creator>
      <dc:date>2021-09-08T13:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table with multiple values error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-with-multiple-values-error/m-p/2068821#M46787</link>
      <description>&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Get-Your-Question-Answered-Quickly/td-p/1626726" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Get-Your-Question-Answered-Quickly/td-p/1626726&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 11:37:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-with-multiple-values-error/m-p/2068821#M46787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-10T11:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Table with multiple values error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-with-multiple-values-error/m-p/2080018#M47164</link>
      <description>&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1pokK9-vwmBHNggjY5tYyZZAoOQVoFAXf/view?usp=sharing" target="_blank"&gt;Here is a copy of the pbix file.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this can help.... really lost no&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 10:31:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Table-with-multiple-values-error/m-p/2080018#M47164</guid>
      <dc:creator>mymoosa</dc:creator>
      <dc:date>2021-09-16T10:31:17Z</dc:date>
    </item>
  </channel>
</rss>

