Forum Discussion
Concatenar varias segmentaciones
- Anonymous1 year ago
Hi Sergi_Mulet ,
Thanks lbendlin for the quick reply. I have some other thoughts to add:
(1) We can create eight slicer tables for eight locations. Note that there is no model relationship between these eight tables.
BANDA DERECHA = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO])BANDA IZQUIERDA = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO])BANDA IZQUIERDA2 = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO])DEFENSA DERECHO = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO])DEFENSA IZQUIERDO = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO])MEDIO = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO])PIVOTE = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO])PORTERO = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO])(2) We can create measures.
Measure = SELECTEDVALUE ( 'PORTERO'[DEFENSA IZQUIERDO] ) & "," & SELECTEDVALUE ( 'DEFENSA IZQUIERDO'[DEFENSA IZQUIERDO] ) & "," & SELECTEDVALUE ( 'DEFENSA DERECHO'[DEFENSA IZQUIERDO] ) & "," & SELECTEDVALUE ( PIVOTE[DEFENSA IZQUIERDO] ) & "," & SELECTEDVALUE ( MEDIO[DEFENSA IZQUIERDO] ) & "," & SELECTEDVALUE ( 'BANDA IZQUIERDA'[DEFENSA IZQUIERDO] ) & "," & SELECTEDVALUE ( 'BANDA DERECHA'[DEFENSA IZQUIERDO] ) & "," & SELECTEDVALUE ( 'BANDA IZQUIERDA2'[DEFENSA IZQUIERDO] )(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Sergi_Mulet ,
Thanks lbendlin for the quick reply. I have some other thoughts to add:
(1) We can create eight slicer tables for eight locations. Note that there is no model relationship between these eight tables.
BANDA DERECHA = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO]) BANDA IZQUIERDA = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO]) BANDA IZQUIERDA2 = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO]) DEFENSA DERECHO = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO]) DEFENSA IZQUIERDO = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO]) MEDIO = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO]) PIVOTE = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO]) PORTERO = VALUES('POSICIONES JUGADORES'[DEFENSA IZQUIERDO])
(2) We can create measures.
Measure =
SELECTEDVALUE ( 'PORTERO'[DEFENSA IZQUIERDO] ) & ","
& SELECTEDVALUE ( 'DEFENSA IZQUIERDO'[DEFENSA IZQUIERDO] ) & ","
& SELECTEDVALUE ( 'DEFENSA DERECHO'[DEFENSA IZQUIERDO] ) & ","
& SELECTEDVALUE ( PIVOTE[DEFENSA IZQUIERDO] ) & ","
& SELECTEDVALUE ( MEDIO[DEFENSA IZQUIERDO] ) & ","
& SELECTEDVALUE ( 'BANDA IZQUIERDA'[DEFENSA IZQUIERDO] ) & ","
& SELECTEDVALUE ( 'BANDA DERECHA'[DEFENSA IZQUIERDO] ) & ","
& SELECTEDVALUE ( 'BANDA IZQUIERDA2'[DEFENSA IZQUIERDO] )
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Muchas gracias.
Es lo que buscaba!!! Ya lo he creado tal y como me dijiste y funciona la concatenación. Ahora solo me faltaria que el valor concatenado me de por ejemplo los goles de esta combinación (alineación) y no los del partido.
Como no me deja insertar el archivo .pbix os lo envío con este enlace.
El resultado, por ejemplo de los goles a favor debería dar 1, pues son los goles a favor del tercer cuarto, y no 6 que son el total de goles del partido.
Muchas gracias. de verdad!!
Un saludo
Thank you so much.
It's what I was looking for!!! I have already created it just as you told me and the concatenation works. Now I would only need the concatenated value to give me, for example, the goals of this combination (lineup) and not those of the match.
Since it won't let me insert the .pbix file, I'm sending it to you with this link.
The result, for example of the goals scored, should be 1, since they are the goals scored in the third quarter, and not 6, which are the total goals for the match.
Thank you so much. really!!
All the best