The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello Team,
use the below sample data and write the dax code for want to get max effective date on item id and vendor
and the sample output is for example the first item is 100021 but effective date is should come 2/7/2023
Please give the soultion as soon as possiable
Solved! Go to Solution.
@Arjunsmart_1994 Try:
Measure =
VAR __Item = MAX( 'Table'[Item] )
VAR __Result = MAXX( FILTER( ALLSELECTED( 'Table' ), [Item] = __Item ), [Effective date] )
RETURN
__Result
@Arjunsmart_1994 Try:
Measure =
VAR __Item = MAX( 'Table'[Item] )
VAR __Result = MAXX( FILTER( ALLSELECTED( 'Table' ), [Item] = __Item ), [Effective date] )
RETURN
__Result