<?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 to return a specific value in a column based on slicers in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-return-a-specific-value-in-a-column-based-on-slicers/m-p/3238889#M119118</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="532827" data-lia-user-login="KH88" class="lia-mention lia-mention-user"&gt;KH88&lt;/a&gt;&amp;nbsp;You could use any simple aggregation for this I believe. See attached PBIX file below signature.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2023 21:12:11 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2023-05-16T21:12:11Z</dc:date>
    <item>
      <title>Measure to return a specific value in a column based on slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-return-a-specific-value-in-a-column-based-on-slicers/m-p/3238865#M119117</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;I'm struggling to create a measure. I have a data table that lists products, their associated tests, and the spec limits for each test. My Power BI page is set up with slicers for both product and test. The idea is to create a multi-row card that would list the spec limits (min, target, max) and would change for the associated product and test every time the slicers were changed. I cannot figure out how to do this with a measure and have it pull the value I need specific to the slicer-selected product and test. I tried using SELECTEDVALUE('Product Specs'[Target]) but that returns [BLANK], I assume because it's not filtering down to one value like I think.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table: Product Specs&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Test&lt;/TD&gt;&lt;TD&gt;Min&lt;/TD&gt;&lt;TD&gt;Target&lt;/TD&gt;&lt;TD&gt;Max&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Cheese&lt;/TD&gt;&lt;TD&gt;Fat&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Cheese&lt;/TD&gt;&lt;TD&gt;Protein&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Milk&lt;/TD&gt;&lt;TD&gt;Fat&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Milk&lt;/TD&gt;&lt;TD&gt;Protein&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Milk&lt;/TD&gt;&lt;TD&gt;Moisture&lt;/TD&gt;&lt;TD&gt;80&lt;/TD&gt;&lt;TD&gt;85&lt;/TD&gt;&lt;TD&gt;90&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated! Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 20:56:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-return-a-specific-value-in-a-column-based-on-slicers/m-p/3238865#M119117</guid>
      <dc:creator>KH88</dc:creator>
      <dc:date>2023-05-16T20:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Measure to return a specific value in a column based on slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-return-a-specific-value-in-a-column-based-on-slicers/m-p/3238889#M119118</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="532827" data-lia-user-login="KH88" class="lia-mention lia-mention-user"&gt;KH88&lt;/a&gt;&amp;nbsp;You could use any simple aggregation for this I believe. See attached PBIX file below signature.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 21:12:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-return-a-specific-value-in-a-column-based-on-slicers/m-p/3238889#M119118</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-05-16T21:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Measure to return a specific value in a column based on slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-return-a-specific-value-in-a-column-based-on-slicers/m-p/3240663#M119229</link>
      <description>Thank you. I thought it should be that simple but it wasn't giving me the right answer. Digging into it more, it looks like my table connections for the Test ("product" and "test" slicers aren't pulling directly from that table but route through other connections to compile multiple ways that "test" can be represented in the data) were not connected correctly so it was summing all of the values instead of going through the test slicer. I'm glad to hear it's as simple as that once I get my connections fixed.</description>
      <pubDate>Wed, 17 May 2023 15:52:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-return-a-specific-value-in-a-column-based-on-slicers/m-p/3240663#M119229</guid>
      <dc:creator>KH88</dc:creator>
      <dc:date>2023-05-17T15:52:19Z</dc:date>
    </item>
  </channel>
</rss>

