<?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: Measure or New Column? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-or-New-Column/m-p/2669416#M79532</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="417577" data-lia-user-login="A-Aron" class="lia-mention lia-mention-user"&gt;A-Aron&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my understanding that for Neosho the result would be 14/2 = 7. What about other sites? Do you have a list that contains the sites vs this constant number or it is the same number across all sites?&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jul 2022 11:52:01 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-07-29T11:52:01Z</dc:date>
    <item>
      <title>Measure or New Column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-or-New-Column/m-p/2669358#M79526</link>
      <description>&lt;P&gt;Hey Pros, im new to BI so here's my dilemma,&lt;/P&gt;&lt;P&gt;I have a sharepoint connection with several excel sheets of the same type that i have combined to make a single query. Every different sheet is a different site used by a differnet amount of users that log their daily hours. I am being asked to create an efficiency percentage per site that takes the logged hours against the potential hours that could be worked. Each site logs multiple jobs per day so i need to figure out how to make a DAX measure that will consider the site in one column then take a specified number (static number of hours) divided by how many entries per day. If anyone can understand what im trying to say any help would be awesome. heres an example table if it helps.&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Site&lt;/TD&gt;&lt;TD&gt;Hours&lt;/TD&gt;&lt;TD&gt;Potential hours&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1/1&lt;/TD&gt;&lt;TD&gt;Neosho&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;=if(site=neosho,14)/COUNT,date)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1/1&lt;/TD&gt;&lt;TD&gt;Nesosho&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1/2&lt;/TD&gt;&lt;TD&gt;Brim&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1/2&lt;/TD&gt;&lt;TD&gt;Brim&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 29 Jul 2022 11:23:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-or-New-Column/m-p/2669358#M79526</guid>
      <dc:creator>A-Aron</dc:creator>
      <dc:date>2022-07-29T11:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Measure or New Column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-or-New-Column/m-p/2669416#M79532</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="417577" data-lia-user-login="A-Aron" class="lia-mention lia-mention-user"&gt;A-Aron&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my understanding that for Neosho the result would be 14/2 = 7. What about other sites? Do you have a list that contains the sites vs this constant number or it is the same number across all sites?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 11:52:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-or-New-Column/m-p/2669416#M79532</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-07-29T11:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Measure or New Column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-or-New-Column/m-p/2669437#M79533</link>
      <description>&lt;P&gt;Hello thank you for replying!! So the number is different for each site becasue each site has diferent number of employees. So for neosho its 14 becasue they have 2. theres Brimfield which as 2, Newville has 3, Victorville has 2 Fontana has one and Gastonia has 2. I was just going to create a macro in the excel that just logs a 14 or whichever then append it to the query but i was hoping there is a cleaner way.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 12:01:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-or-New-Column/m-p/2669437#M79533</guid>
      <dc:creator>A-Aron</dc:creator>
      <dc:date>2022-07-29T12:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Measure or New Column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-or-New-Column/m-p/2669477#M79537</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="417577" data-lia-user-login="A-Aron" class="lia-mention lia-mention-user"&gt;A-Aron&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Add a small lookup (dimintion) table that contains two columns: Site and # of Employees. A relationship can then be created between the two tables via [Site] columns. In your visula silce by the Site column from the lookup table and the measure would be&lt;BR /&gt;DIVIDE ( SELECTEDVALUE ( LookupTable[# of Employees] ), COUNTROWS ( FactTable ) )&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 12:23:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-or-New-Column/m-p/2669477#M79537</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-07-29T12:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Measure or New Column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-or-New-Column/m-p/2669548#M79543</link>
      <description>&lt;P&gt;This is gold thank you !!!!!!!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 12:51:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-or-New-Column/m-p/2669548#M79543</guid>
      <dc:creator>A-Aron</dc:creator>
      <dc:date>2022-07-29T12:51:39Z</dc:date>
    </item>
  </channel>
</rss>

