Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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
User | Count |
---|---|
88 | |
88 | |
75 | |
67 | |
58 |
User | Count |
---|---|
136 | |
110 | |
91 | |
84 | |
69 |