<?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: How to identify average when the column has text datatype? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-identify-average-when-the-column-has-text-datatype/m-p/3912861#M152344</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="577313" data-lia-user-login="Arioli_Chezhian" class="lia-mention lia-mention-user"&gt;Arioli_Chezhian&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Here some steps that I want to share, you can check them if they suitable for your requirement.&lt;BR /&gt;Here is my test data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Distintcount = 
VAR _a = 
CALCULATE(
    DISTINCTCOUNT('Table'[Username]),
    ALL('Table')
)
RETURN
CALCULATE(
    COUNT('Table'[Username])/_a
)&lt;/LI-CODE&gt;
&lt;P&gt;Final output&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Albert He&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2024 06:15:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-05-13T06:15:18Z</dc:date>
    <item>
      <title>How to identify average when the column has text datatype?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-identify-average-when-the-column-has-text-datatype/m-p/3911028#M152316</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I have a column which has 'user name' and it's datatype is 'text'. Currently I am showing the data in card visual which shows distinctcount of username.&lt;BR /&gt;&lt;BR /&gt;However, I would like to show 'Average of number of users'. Since it is in text datatype, could you please advice on how to write the measure to achieve this scenario?&lt;BR /&gt;&lt;BR /&gt;E.g. data:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Username&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;abc&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;def&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ghi&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sat, 11 May 2024 18:00:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-identify-average-when-the-column-has-text-datatype/m-p/3911028#M152316</guid>
      <dc:creator>Arioli_Chezhian</dc:creator>
      <dc:date>2024-05-11T18:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify average when the column has text datatype?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-identify-average-when-the-column-has-text-datatype/m-p/3912009#M152327</link>
      <description>&lt;P&gt;&lt;SPAN&gt;'Average of number of users'&lt;BR /&gt;&lt;/SPAN&gt;Please elaborate, as in ,what should be output in case of your given scenario.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 May 2024 15:42:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-identify-average-when-the-column-has-text-datatype/m-p/3912009#M152327</guid>
      <dc:creator>Pawasthi3292</dc:creator>
      <dc:date>2024-05-12T15:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify average when the column has text datatype?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-identify-average-when-the-column-has-text-datatype/m-p/3912031#M152328</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="724884" data-lia-user-login="Pawasthi3292" class="lia-mention lia-mention-user"&gt;Pawasthi3292&lt;/a&gt;&amp;nbsp; - As like average of distinctcount of number of users&lt;/P&gt;</description>
      <pubDate>Sun, 12 May 2024 16:17:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-identify-average-when-the-column-has-text-datatype/m-p/3912031#M152328</guid>
      <dc:creator>Arioli_Chezhian</dc:creator>
      <dc:date>2024-05-12T16:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify average when the column has text datatype?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-identify-average-when-the-column-has-text-datatype/m-p/3912861#M152344</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="577313" data-lia-user-login="Arioli_Chezhian" class="lia-mention lia-mention-user"&gt;Arioli_Chezhian&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Here some steps that I want to share, you can check them if they suitable for your requirement.&lt;BR /&gt;Here is my test data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Distintcount = 
VAR _a = 
CALCULATE(
    DISTINCTCOUNT('Table'[Username]),
    ALL('Table')
)
RETURN
CALCULATE(
    COUNT('Table'[Username])/_a
)&lt;/LI-CODE&gt;
&lt;P&gt;Final output&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Albert He&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 06:15:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-identify-average-when-the-column-has-text-datatype/m-p/3912861#M152344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-13T06:15:18Z</dc:date>
    </item>
  </channel>
</rss>

