<?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: Column values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-values/m-p/1427851#M26606</link>
    <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you explain a bit more what the operation you need exactly is? The DAX code you show does not make much sense since you are&amp;nbsp;multiplying by a one-column table&amp;nbsp; What is [Minutes]?&lt;/P&gt;
&lt;P&gt;Probably you'll need to use some kind of iterator based on the whole table,&amp;nbsp;either CombinedTable or ALL(CombinedTable). In any case, we need more details to come up&amp;nbsp;with an answer.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving kudos if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Oct 2020 10:43:28 GMT</pubDate>
    <dc:creator>AlB</dc:creator>
    <dc:date>2020-10-12T10:43:28Z</dc:date>
    <item>
      <title>Column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-values/m-p/1427215#M26597</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to bring column values to a measure? I tried using "VALUES" function but it only gives unique values and i want all of the values inside that column.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR DrivingIndex = VALUES(CombinedTable[drivingindex])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN [Minutes]*(100-DrivingIndex)^3&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Oct 2020 06:58:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-values/m-p/1427215#M26597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-12T06:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-values/m-p/1427780#M26604</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;, DAX measure is way different from Excel array formula; it's always used to aggregated data in a particular way (sum up, average, concatenate, etc.) in stead of return a series of results.&lt;/P&gt;&lt;P&gt;btw, in gereral, we can use ALL(&lt;SPAN&gt;CombinedTable) to retrieve an intact table, retaining all duplicates in each column.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 10:11:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-values/m-p/1427780#M26604</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2020-10-12T10:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-values/m-p/1427851#M26606</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you explain a bit more what the operation you need exactly is? The DAX code you show does not make much sense since you are&amp;nbsp;multiplying by a one-column table&amp;nbsp; What is [Minutes]?&lt;/P&gt;
&lt;P&gt;Probably you'll need to use some kind of iterator based on the whole table,&amp;nbsp;either CombinedTable or ALL(CombinedTable). In any case, we need more details to come up&amp;nbsp;with an answer.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving kudos if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 10:43:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-values/m-p/1427851#M26606</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2020-10-12T10:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-values/m-p/1427995#M26611</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i have three different measures. Minutes, WeightedNumber and WeightedAverage. I have trouble with the WeightedNumber measure because i want to bring those drivingindexes that were counted in the Minutes measure. These measures are for a cubic average for my gauge visualization. Hopefully you can get some kind of a picture what i'm trying to do. Thank you for your help anyways.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Minutes = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR minimi = MIN(CombinedTable[Time]) VAR maksimi = MAX(CombinedTable[Time]) return IF(ISFILTERED(CombinedTable[Date]) || ISFILTERED(CombinedTable[driver_id]);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;maksimi - minimi &amp;amp;&amp;amp; COUNT(CombinedTable[drivingindex]) ; BLANK() )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV&gt;WeightedNumber =&lt;/DIV&gt;&lt;DIV&gt;VAR DrivingIndex = ALL(CombinedTable[drivingindex])&lt;/DIV&gt;&lt;DIV&gt;RETURN [Minutes]*(100-DrivingIndex)^3&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV&gt;WeightedAverage = 100-([WeightedNumber]/[Minutes])^(1/3)&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Oct 2020 11:36:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-values/m-p/1427995#M26611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-12T11:36:36Z</dc:date>
    </item>
  </channel>
</rss>

