<?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: Can't comapre measure to a table column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430427#M26671</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You need to update it to the latest version. I am not sure what is RS Version?&lt;BR /&gt;&lt;BR /&gt;You try this&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;OtherCategory = 

IF( 
    MAX('DataTable'[ColA]) =[MeasureBasedonFilter],
    0,
    1
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2020 12:36:57 GMT</pubDate>
    <dc:creator>Fowmy</dc:creator>
    <dc:date>2020-10-13T12:36:57Z</dc:date>
    <item>
      <title>Can't comapre measure to a table column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430325#M26666</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the life of me I just can't get this to work..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a simple report with a category filter and a table visual.&lt;/P&gt;&lt;P&gt;I created a measure that contains the values in filter - so far so good.&lt;/P&gt;&lt;P&gt;I added the measure to the table visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my problem - I'm trying to compare a specific column in the table (specific rows) to the values in measure but I can't seem to figure out the syntax.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what it looks like:&lt;/P&gt;&lt;P&gt;&lt;A href="https://i.imgur.com/HcAnu53.jpg" target="_blank"&gt;https://i.imgur.com/HcAnu53.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The end goal is to filter out rows with different values than the measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 11:45:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430325#M26666</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-13T11:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can't comapre measure to a table column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430335#M26667</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is your Category Field in the same table or a different table?&lt;BR /&gt;You can provide sample data with the expected result to assist you with the question&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 11:54:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430335#M26667</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-10-13T11:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can't comapre measure to a table column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430368#M26668</link>
      <description>&lt;P&gt;It's in a different table. Unfortunately I can't attach any samples because the data is sensitive.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 12:11:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430368#M26668</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-13T12:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can't comapre measure to a table column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430391#M26669</link>
      <description>&lt;P class="lia-align-justify"&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Create the following Measure and add it to the Visual Filter of the TAble Visual and set it to 1 and apply. I assume your Category Table and Data Table are not linked, If it is linked, create a copy of the category table and use it on your slicer.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;OtherCategory = 

IF( 
    SELECTEDVALUE('DataTable'[ColA]) =[MeasureBasedonFilter],
    0,
    1
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 12:20:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430391#M26669</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-10-13T12:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can't comapre measure to a table column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430411#M26670</link>
      <description>&lt;P&gt;I actually wanted to try and use the SELECTEDVALUE function, but it doesn't pop up when I start typing it like other Dax functions, it seems like it's missing.&lt;/P&gt;&lt;P&gt;I am using Power Bi desktop May 2020 (RS version).&lt;/P&gt;&lt;P&gt;My analysis server version is 13.0.4474.0.&lt;/P&gt;&lt;P&gt;Compatibility level: 1200.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does it have something to do with the function missing?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 12:30:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430411#M26670</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-13T12:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can't comapre measure to a table column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430427#M26671</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You need to update it to the latest version. I am not sure what is RS Version?&lt;BR /&gt;&lt;BR /&gt;You try this&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;OtherCategory = 

IF( 
    MAX('DataTable'[ColA]) =[MeasureBasedonFilter],
    0,
    1
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 12:36:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430427#M26671</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-10-13T12:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can't comapre measure to a table column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430446#M26674</link>
      <description>&lt;P&gt;Can't use the MAX function on strings, any chance of using a different function?&lt;/P&gt;&lt;P&gt;By the way, I saw other people with the same problem of this function missing, even on this forum.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 12:53:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1430446#M26674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-13T12:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can't comapre measure to a table column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1440204#M26941</link>
      <description>&lt;P&gt;I figured it out thanks to this post:&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/selectedvalue-function" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/dax/selectedvalue-function&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With no SELECTEDVALUE available, I used the previous way of doing it using these 3 functions:&lt;BR /&gt;IF(HASONEVALUE( columnName ), VALUES( columnName ), alternateResult )&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2020 08:43:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-t-comapre-measure-to-a-table-column/m-p/1440204#M26941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-18T08:43:39Z</dc:date>
    </item>
  </channel>
</rss>

