<?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 How to show specific values of the data in a lookup table instead of total sum in dax measure? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-specific-values-of-the-data-in-a-lookup-table/m-p/1633688#M33137</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im a beginner that is a bit stuck with probably something simple. I think im using the wrong function but I managed to only find the ones that didn't work. Hope some one can help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a lookup table (truck capacity) where I have all truck numbers and the belonging loading capacity. So:&lt;/P&gt;&lt;P&gt;Truck number - Loading capacity&lt;/P&gt;&lt;P&gt;Truck 1 - 3,0&amp;nbsp;&lt;/P&gt;&lt;P&gt;Truck 2 - 5,0&lt;/P&gt;&lt;P&gt;Truck 3 - 12,0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Than I have a data table (routes) where I have all truck numbers by days, truck number and loading meters. So:&lt;/P&gt;&lt;P&gt;Date - Truck number - Loading meters&lt;/P&gt;&lt;P&gt;1-1-20 - Truck 1 - 1,8&lt;/P&gt;&lt;P&gt;1-1-20 - Truck 2 - 4,0&lt;/P&gt;&lt;P&gt;1-1-20 - Truck 3 - 9,2&lt;/P&gt;&lt;P&gt;2-1-20 - Truck 1 - 2,4&lt;/P&gt;&lt;P&gt;2-1-20 - Truck 2 -&amp;nbsp; 2,0&lt;/P&gt;&lt;P&gt;2-1-20 - Truck 3 - 10,6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My look up table has a relationship with the data table by truck number. That having said.&lt;/P&gt;&lt;P&gt;My end goal is to divide loading meters by loading capacity for each truck by route by day.&lt;/P&gt;&lt;P&gt;I already have the measure for the loading meters using&amp;nbsp;sum('routes'[Loading meters]).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now my next step is to have a measure for loading capacity. I tried:&lt;/P&gt;&lt;P&gt;- SUM('truck capacity'[Loading capacity])&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;-&amp;nbsp;CALCULATE(&lt;/P&gt;&lt;P&gt;SUM('truck capacity'[Loading capacity]),&lt;/P&gt;&lt;P&gt;VALUES('truck capacity'[Truck number])&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that it now shows the total sum of the three truck numbers as values (20,00), no matter for what truck number I want to use it. So basically its summarized but I want the loading capacity per truck. Can someone tell me what my correct measure is for loading capacity based on truck number instead of what I have now done to show the total loading capacity of all trucks...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance! Grtz Jeroen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 31 Jan 2021 05:51:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-01-31T05:51:02Z</dc:date>
    <item>
      <title>How to show specific values of the data in a lookup table instead of total sum in dax measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-specific-values-of-the-data-in-a-lookup-table/m-p/1633688#M33137</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im a beginner that is a bit stuck with probably something simple. I think im using the wrong function but I managed to only find the ones that didn't work. Hope some one can help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a lookup table (truck capacity) where I have all truck numbers and the belonging loading capacity. So:&lt;/P&gt;&lt;P&gt;Truck number - Loading capacity&lt;/P&gt;&lt;P&gt;Truck 1 - 3,0&amp;nbsp;&lt;/P&gt;&lt;P&gt;Truck 2 - 5,0&lt;/P&gt;&lt;P&gt;Truck 3 - 12,0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Than I have a data table (routes) where I have all truck numbers by days, truck number and loading meters. So:&lt;/P&gt;&lt;P&gt;Date - Truck number - Loading meters&lt;/P&gt;&lt;P&gt;1-1-20 - Truck 1 - 1,8&lt;/P&gt;&lt;P&gt;1-1-20 - Truck 2 - 4,0&lt;/P&gt;&lt;P&gt;1-1-20 - Truck 3 - 9,2&lt;/P&gt;&lt;P&gt;2-1-20 - Truck 1 - 2,4&lt;/P&gt;&lt;P&gt;2-1-20 - Truck 2 -&amp;nbsp; 2,0&lt;/P&gt;&lt;P&gt;2-1-20 - Truck 3 - 10,6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My look up table has a relationship with the data table by truck number. That having said.&lt;/P&gt;&lt;P&gt;My end goal is to divide loading meters by loading capacity for each truck by route by day.&lt;/P&gt;&lt;P&gt;I already have the measure for the loading meters using&amp;nbsp;sum('routes'[Loading meters]).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now my next step is to have a measure for loading capacity. I tried:&lt;/P&gt;&lt;P&gt;- SUM('truck capacity'[Loading capacity])&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;-&amp;nbsp;CALCULATE(&lt;/P&gt;&lt;P&gt;SUM('truck capacity'[Loading capacity]),&lt;/P&gt;&lt;P&gt;VALUES('truck capacity'[Truck number])&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that it now shows the total sum of the three truck numbers as values (20,00), no matter for what truck number I want to use it. So basically its summarized but I want the loading capacity per truck. Can someone tell me what my correct measure is for loading capacity based on truck number instead of what I have now done to show the total loading capacity of all trucks...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance! Grtz Jeroen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2021 05:51:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-specific-values-of-the-data-in-a-lookup-table/m-p/1633688#M33137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-31T05:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to show specific values of the data in a lookup table instead of total sum in dax measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-specific-values-of-the-data-in-a-lookup-table/m-p/1633706#M33139</link>
      <description>&lt;P&gt;Hi I think this is what you mean, you will need to expand your fact table to include route and have an entry for each trip otherwise you will get wonky results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Think it is right, gives you ideas anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dont know how to save file here so pictures will have to do.&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;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2021 06:58:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-specific-values-of-the-data-in-a-lookup-table/m-p/1633706#M33139</guid>
      <dc:creator>rfigtree</dc:creator>
      <dc:date>2021-01-31T06:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to show specific values of the data in a lookup table instead of total sum in dax measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-specific-values-of-the-data-in-a-lookup-table/m-p/1636047#M33200</link>
      <description>&lt;P&gt;Managed to solve my problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything with the DAX calculation was okay.&lt;/P&gt;&lt;P&gt;Made the rookie mistake of using the licenseplate of my data table instead of using the licenseplate of my look up table. When I changed them it was working correctly.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 14:42:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-specific-values-of-the-data-in-a-lookup-table/m-p/1636047#M33200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-01T14:42:09Z</dc:date>
    </item>
  </channel>
</rss>

