<?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 Sum of all values in another table where the column is named a row of the table I am in in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-all-values-in-another-table-where-the-column-is-named-a/m-p/4077833#M161925</link>
    <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to sum all the data in a column of a table where that column name is based on the row name of the table I am in, I am unable to find anything around this and was wondering if anyone had any good examples.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For context the columns are a list of names and I am trying to get a total of their "points" across a list of events.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 04 Aug 2024 00:23:15 GMT</pubDate>
    <dc:creator>dadson1996</dc:creator>
    <dc:date>2024-08-04T00:23:15Z</dc:date>
    <item>
      <title>Sum of all values in another table where the column is named a row of the table I am in</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-all-values-in-another-table-where-the-column-is-named-a/m-p/4077833#M161925</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to sum all the data in a column of a table where that column name is based on the row name of the table I am in, I am unable to find anything around this and was wondering if anyone had any good examples.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For context the columns are a list of names and I am trying to get a total of their "points" across a list of events.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2024 00:23:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-all-values-in-another-table-where-the-column-is-named-a/m-p/4077833#M161925</guid>
      <dc:creator>dadson1996</dc:creator>
      <dc:date>2024-08-04T00:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of all values in another table where the column is named a row of the table I am in</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-all-values-in-another-table-where-the-column-is-named-a/m-p/4077966#M161929</link>
      <description>&lt;P&gt;This example can help you.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Events table:&lt;BR /&gt;Event Alice Bob Charlie&lt;BR /&gt;Event1 10 5 8&lt;BR /&gt;Event2 7 3 6&lt;BR /&gt;Event3 4 8 9&lt;BR /&gt;_________________________&lt;BR /&gt;Participants table:&lt;BR /&gt;Name&lt;BR /&gt;Alice&lt;BR /&gt;Bob&lt;BR /&gt;Charlie&lt;BR /&gt;_______________________&lt;BR /&gt;Create a measure to sum the points for each participant across all events:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;TotalPoints =&lt;BR /&gt;VAR ParticipantName = SELECTEDVALUE(Participants[Name])&lt;BR /&gt;RETURN&lt;BR /&gt;SUMX(&lt;BR /&gt;Events,&lt;BR /&gt;SWITCH(&lt;BR /&gt;ParticipantName,&lt;BR /&gt;"Alice", Events[Alice],&lt;BR /&gt;"Bob", Events[Bob],&lt;BR /&gt;"Charlie", Events[Charlie],&lt;BR /&gt;0&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2024 04:47:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-all-values-in-another-table-where-the-column-is-named-a/m-p/4077966#M161929</guid>
      <dc:creator>ahadkarimi</dc:creator>
      <dc:date>2024-08-04T04:47:38Z</dc:date>
    </item>
  </channel>
</rss>

