Forum Discussion
RANKX Issue!
- 8 years ago
Try this MEASURE as a test
I just replaced ALL( 'TABLA CRUCE'[NIT])....... with........... ALL( 'TABLA CRUCE'[NIT],'TABLA CRUCE'[NOMBRE])Rank Dimension Interna = VAR RankDimension = RANKX ( ALL ( 'TABLA CRUCE'[NIT], 'TABLA CRUCE'[NOMBRE] ), [Dimensión Interna], , 0, DENSE ) RETURN IF ( [Dimensión Interna] = 0, BLANK (), RankDimension )
Hi! Zubair_Muhammad
Thanks a lot for your response. It seems like could work but the rank omitted the number rank number 9. It just pass from 8 to 10, Do you know why this is happening? Even the rank assumes that there are 16 companies but the true number of those is 15.
Thank you very much, really.
This is because you have BLANK "NIT" items which are also RANKED
These items are filtered OUT at REPORT LEVEL
See the image below
- AlejandroPCar8 years agoHelper IV
Hi! Zubair_Muhammad
Ok, thanks for your entire help. Im will try how to solve the BLANK problem. Until this point, your solution works excellent. Thanks again. Also, if you have any idea how to overcome this problem its gonna be fine.