<?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: Retrieve the lowest price of each Producttype with the same Product_ID in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/988908#M12232</link>
    <description>Try my latest quick measure, Lookup Min/Max &lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Lookup-Min-Max/td-p/985814" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Lookup-Min-Max/td-p/985814&lt;/A&gt;</description>
    <pubDate>Tue, 24 Mar 2020 12:15:35 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2020-03-24T12:15:35Z</dc:date>
    <item>
      <title>Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/988782#M12231</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;I'm am trying to figure out how to retrieve the lowest price of each Producttype with the same Product_ID.&lt;/P&gt;&lt;P&gt;For Product_ID 626, I have Product_Type 954,955, 956, 957 and they eacht have. different price&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;What I want to do, is to write a function that we return the cheapest ProductType and Price for Product_ID 626.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried the min funtion, but that gives me the lowest price of the whole datamodel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 10:53:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/988782#M12231</guid>
      <dc:creator>SL_1983</dc:creator>
      <dc:date>2020-03-24T10:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/988908#M12232</link>
      <description>Try my latest quick measure, Lookup Min/Max &lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Lookup-Min-Max/td-p/985814" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Lookup-Min-Max/td-p/985814&lt;/A&gt;</description>
      <pubDate>Tue, 24 Mar 2020 12:15:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/988908#M12232</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-03-24T12:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/990515#M12289</link>
      <description>&lt;P&gt;Thank you Mark for your answer.&lt;/P&gt;&lt;P&gt;I can't seem to get the formula to work for me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 08:48:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/990515#M12289</guid>
      <dc:creator>SL_1983</dc:creator>
      <dc:date>2020-03-25T08:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/990545#M12290</link>
      <description>&lt;P&gt;Hello Mark,&lt;/P&gt;&lt;P&gt;This is a part of my table:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Recipe_ID&lt;/TD&gt;&lt;TD&gt;Recipe_Pers&lt;/TD&gt;&lt;TD&gt;Recipe_Qty&lt;/TD&gt;&lt;TD&gt;RecipeProduct_ID&lt;/TD&gt;&lt;TD&gt;Product_ID&lt;/TD&gt;&lt;TD&gt;Package_ID&lt;/TD&gt;&lt;TD&gt;Shop_ID&lt;/TD&gt;&lt;TD&gt;Brand_ID&lt;/TD&gt;&lt;TD&gt;PackageShop_ID&lt;/TD&gt;&lt;TD&gt;Content&lt;/TD&gt;&lt;TD&gt;Measurement&lt;/TD&gt;&lt;TD&gt;Price&lt;/TD&gt;&lt;TD&gt;Unit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;0,25&lt;/TD&gt;&lt;TD&gt;9001&lt;/TD&gt;&lt;TD&gt;626&lt;/TD&gt;&lt;TD&gt;954&lt;/TD&gt;&lt;TD&gt;241&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;10954&lt;/TD&gt;&lt;TD&gt;0,5&lt;/TD&gt;&lt;TD&gt;Kg&lt;/TD&gt;&lt;TD&gt;2,98&lt;/TD&gt;&lt;TD&gt;Kg&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;0,25&lt;/TD&gt;&lt;TD&gt;9001&lt;/TD&gt;&lt;TD&gt;626&lt;/TD&gt;&lt;TD&gt;955&lt;/TD&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;/TD&gt;&lt;TD&gt;Kg&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for Product_ID 626, I would need to retrieve the price of 2,98.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 09:00:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/990545#M12290</guid>
      <dc:creator>SL_1983</dc:creator>
      <dc:date>2020-03-25T09:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/990686#M12295</link>
      <description>&lt;LI-CODE lang="markup"&gt;[Lowest Price] = // calculated column
var _prodid = T[Product_ID]
var __lowestPrice =
	MINX(
		topn(1
			filter(
				T,
				T[Product_ID] = __prodid
			),
			T[Price],
			ASC
		),
		T[Price]
	)
return
	__lowestPrice
	
	
[Cheapest ProductType] = // calculated column
var __prodid = T[Product_ID]
var __lowestPrice = T[Lowest Price]
var __prodType =
	MINX(
		topn(1
			filter(
				T,
				T[Product_ID] = __prodid
				&amp;amp;&amp;amp;
				T[Lowest Price] = __lowestPrice
			),
			T[ProductType],
			ASC
		),
		T[ProductType]
	)	
return
	__prodType&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 10:03:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/990686#M12295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-25T10:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/990787#M12299</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lowest Price is correct.&lt;/P&gt;&lt;P&gt;For the Producttype it is not always correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example: for product_ID 1284, the cheapest Producttype is 1994, but it returns 1993&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 10:41:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/990787#M12299</guid>
      <dc:creator>SL_1983</dc:creator>
      <dc:date>2020-03-25T10:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/991173#M12310</link>
      <description>&lt;P&gt;A mistake has crept in... Instead of Lowest Price, the filtering should be on Price.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cheapest ProductType = // calculated column
var __prodid = Data[Product_ID]
var __lowestPrice = Data[Lowest Price]
var __prodType =
	MINX(
		topn(1,
			filter(
				Data,
				Data[Product_ID] = __prodid
				&amp;amp;&amp;amp;
                // The mistake was here.
				Data[Price] = __lowestPrice
			),
			Data[Package_ID],
			ASC
		),
		Data[Package_ID]
	)	
return
	__prodType&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 14:17:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/991173#M12310</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-25T14:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/991386#M12320</link>
      <description>&lt;P&gt;Thank you very much.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now it is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If now I want to calculate the cost of Recipe 1, using the lowest price ingredients. Should I make a new calculation? Or could I do it with filter settings. If I do it, using filters, I get a price of 39 euro, however, the price should be around 12,50 euro&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 16:04:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/991386#M12320</guid>
      <dc:creator>SL_1983</dc:creator>
      <dc:date>2020-03-25T16:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/991417#M12325</link>
      <description>You want to create a measure for this. It all depends. You could create a new calculated table with only ReceipeID's and the lowest price for it. I don't know your model.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Wed, 25 Mar 2020 16:17:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/991417#M12325</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-25T16:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/991688#M12336</link>
      <description>&lt;P&gt;Ok, thank you.&lt;/P&gt;&lt;P&gt;I will look into this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sarah&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 18:56:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/991688#M12336</guid>
      <dc:creator>SL_1983</dc:creator>
      <dc:date>2020-03-25T18:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/991775#M12343</link>
      <description>I've tried it using a calculated table.&lt;BR /&gt;&lt;BR /&gt;I would however prefer to use a calculated measure.&lt;BR /&gt;How should I do that?&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Mar 2020 20:42:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/991775#M12343</guid>
      <dc:creator>SL_1983</dc:creator>
      <dc:date>2020-03-25T20:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/991969#M12354</link>
      <description>What is a calculated measure? There is no such object in the Power BI parlance.&lt;BR /&gt;&lt;BR /&gt;Do you mean a measure or a calculated column?&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Thu, 26 Mar 2020 00:41:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/991969#M12354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-26T00:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/992590#M12369</link>
      <description>Yes, sorry, i mean a measure</description>
      <pubDate>Thu, 26 Mar 2020 06:49:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/992590#M12369</guid>
      <dc:creator>SL_1983</dc:creator>
      <dc:date>2020-03-26T06:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/993775#M12401</link>
      <description>&lt;P&gt;My excelsheet looks as follows (only a few items are listed as an example):&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Recipe_ID&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Recipe_Description&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Recipe_Pers&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;RecipeProduct_ID&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Product_ID&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Product_Description&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Recipe_Qty&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Brand_ID&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Package_ID&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Package_Description&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Package_Qty&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Package_Measure&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Price&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Measure&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Spaghetti Bolognese&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;4&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;9001&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;626&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Champignons Parijs&lt;/P&gt;&lt;/TD&gt;&lt;T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lt;P&gt;8,45&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Kg&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Spaghetti Bolognese&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;4&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;9004&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1284&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Gehakt Kalf Varken&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;241&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1994&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Everyday Gehakt Varken-Kalf&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0,5&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Kg&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;7,28&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Kg&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Recipe ID = 1 (Spaghetti) I want to calculate the total cost of the recipe using the Product_ID's with the lowest Price.&lt;/P&gt;&lt;P&gt;I've created two calculated colums:&lt;/P&gt;&lt;P&gt;- Lowest Price&lt;/P&gt;&lt;P&gt;- Lowest Price per Package&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried to write a measure using calculate, but that didn't work.&lt;/P&gt;&lt;P&gt;Can you help me on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Sarah&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 17:51:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/993775#M12401</guid>
      <dc:creator>SL_1983</dc:creator>
      <dc:date>2020-03-26T17:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/994205#M12417</link>
      <description>&lt;P&gt;Please find a file attached with a solution that uses a star schema and does not calculate the minimum price as a calculated column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 00:34:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/994205#M12417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-27T00:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the lowest price of each Producttype with the same Product_ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/994948#M12440</link>
      <description>&lt;P&gt;Thenk you for all your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 08:46:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Retrieve-the-lowest-price-of-each-Producttype-with-the-same/m-p/994948#M12440</guid>
      <dc:creator>SL_1983</dc:creator>
      <dc:date>2020-03-27T08:46:58Z</dc:date>
    </item>
  </channel>
</rss>

