Forum Discussion
Anonymous
8 years agoNot applicable
RANKX ISSUES
I have been trying to iron out this issue for a week now. I saw in tutorials that if you use ALL in your RANKX formula that the Rank result would not be "Ones". I have done so in the below example ...
- 8 years ago
Anonymous
Or with this
Ranking = RANKX ( SUMMARIZE ( ALLSELECTED ( 'WMGBU BEx Query' ), 'WMGBU BEx Query'[ENT BASE ITEM], 'WMGBU BEx Query'[profit center] ), CALCULATE ( SUM ( 'WMGBU BEx Query'[DIRECT MARGIN (PROJECTED)] ) ) / CALCULATE ( SUM ( 'WMGBU BEx Query'[REVENUE (PROJECTED)] ) ) )
Zubair_Muhammad
Community Champion
8 years agoAnonymous
Or with this
Ranking =
RANKX (
SUMMARIZE (
ALLSELECTED ( 'WMGBU BEx Query' ),
'WMGBU BEx Query'[ENT BASE ITEM],
'WMGBU BEx Query'[profit center]
),
CALCULATE ( SUM ( 'WMGBU BEx Query'[DIRECT MARGIN (PROJECTED)] ) )
/ CALCULATE ( SUM ( 'WMGBU BEx Query'[REVENUE (PROJECTED)] ) )
)Anonymous
8 years agoNot applicable
This one worked perfectly...thx so much for your time and efforts!