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
6 years agoCommunity Champion
Anonymous
use rankx like
Column =
RANKX(
FILTER(
'Table',
'Table'[CommitteeName]=EARLIER('Table'[CommitteeName]) && 'Table'[AllotmentMainID]=EARLIER('Table'[AllotmentMainID])
),
'Table'[ApprovedTotalLimit], , DESC
)sqldev2017
5 years agoMicrosoft Employee
I think DAX is utter nonsense, compared to the simplicity of SQL !