<?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 Duplicates in both columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-in-both-columns/m-p/2283182#M55903</link>
    <description>&lt;P&gt;Hi. I have two columns that contain duplicates in both columns. I would like the right column to show several distinct values (because there are several weathers in the right column). The left column should calculate how many values there are in the left column. Huw do I do this i DAX?&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jan 2022 07:17:13 GMT</pubDate>
    <dc:creator>Bergh</dc:creator>
    <dc:date>2022-01-14T07:17:13Z</dc:date>
    <item>
      <title>Duplicates in both columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-in-both-columns/m-p/2283182#M55903</link>
      <description>&lt;P&gt;Hi. I have two columns that contain duplicates in both columns. I would like the right column to show several distinct values (because there are several weathers in the right column). The left column should calculate how many values there are in the left column. Huw do I do this i DAX?&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 07:17:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-in-both-columns/m-p/2283182#M55903</guid>
      <dc:creator>Bergh</dc:creator>
      <dc:date>2022-01-14T07:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicates in both columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-in-both-columns/m-p/2283211#M55904</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You can achieve this using the summarization option in table visual (if this is your end goal):&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;End result:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However if you want to do this with DAX you can use SUMMARIZE:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DistinctExampleDAX = &lt;/SPAN&gt;&lt;SPAN&gt;SUMMARIZE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DistinctExample&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;DistinctExample[Column1]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Distinct"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DistinctExample[Column2]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Jan 2022 07:34:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Duplicates-in-both-columns/m-p/2283211#M55904</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-14T07:34:42Z</dc:date>
    </item>
  </channel>
</rss>

