The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Solved! Go to Solution.
Hi,
You could try something like this.
LastSalesDate = CALCULATE( MAX( 'product Sales'[sold_date] ), FILTER( 'product Sales', 'product Sales[product number] = 'products table'[product number] ) )
Hi,
You could try something like this.
LastSalesDate = CALCULATE( MAX( 'product Sales'[sold_date] ), FILTER( 'product Sales', 'product Sales[product number] = 'products table'[product number] ) )
Thanks for replying this worked, but an even easier solution in the end was a simple MAX (as you suggested) as a measure and then the end user tool would give the correct answer when teh measure was formatted as a date.