Forum Discussion
johanthedataman
6 years agoFrequent Visitor
de Rankx Calculated Column to Measure
Hola, chicos Realmente estoy luchando con lo siguiente: ¿Cómo puedo escribir la siguiente columna calculada Rankx como una medida? Rango de rango ? RANKX ( FILTRO ( Mesa Tabla[organisati...
- 6 years ago
Prueba esto
IndexValue = SUM('Table'[Index])Rank = var _selectedID= SELECTEDVALUE('Table'[organisation_id]) var _rank=RANKX(FILTER(ALL('Table'),'Table'[organisation_id]=_selectedID),[IndexValue],,ASC) return _rank
¿Respondí a tu pregunta? ¡Marca mi puesto como solución!
Apreciar con un kudos🙂
az38
Community Champion
6 years agoHola @johanthedataman
echar un vistazo a este libro de texto rankx https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
johanthedataman
6 years agoFrequent Visitor
Gracias. Hasta ahora leído y probado, no resolvió mi problema.
- nandukrishnavs6 years ago
Community Champion
Prueba esto
IndexValue = SUM('Table'[Index])Rank = var _selectedID= SELECTEDVALUE('Table'[organisation_id]) var _rank=RANKX(FILTER(ALL('Table'),'Table'[organisation_id]=_selectedID),[IndexValue]) return _rank
¿Respondí a tu pregunta? ¡Marca mi puesto como solución!
Apreciar con un kudos🙂- nandukrishnavs6 years ago
Community Champion
Prueba esto
IndexValue = SUM('Table'[Index])Rank = var _selectedID= SELECTEDVALUE('Table'[organisation_id]) var _rank=RANKX(FILTER(ALL('Table'),'Table'[organisation_id]=_selectedID),[IndexValue],,ASC) return _rank
¿Respondí a tu pregunta? ¡Marca mi puesto como solución!
Apreciar con un kudos🙂- johanthedataman6 years agoFrequent Visitor
Genial, @nandukrishnavs hiciste mi día.