Forum Discussion
Anonymous
6 years agoNot applicable
Row Number in DAX
Hi, My SQL query is this ; SELECT CommitteeName, AllotmentMainID, ApprovedTotalLimit, ROW_NUMBER() OVER(PARTITION BY CommitteeName,AllotmentM...
az38
Community Champion
6 years agoAnonymous
use rankx like
Column =
RANKX(
FILTER(
'Table',
'Table'[CommitteeName]=EARLIER('Table'[CommitteeName]) && 'Table'[AllotmentMainID]=EARLIER('Table'[AllotmentMainID])
),
'Table'[ApprovedTotalLimit], , DESC
)sqldev2017
Microsoft Employee
5 years agoI think DAX is utter nonsense, compared to the simplicity of SQL !