Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
v-pussah
Employee
Employee

Valores de columna dinámica basados en la selección de segmentación

Buscando una solución para el problema dado a continuación:-

Tengo unas 12 columnas en un dataset que se trazan en un gráfico de líneas. De este 8 son P1 y 4 son categoría P2.

Necesito cortar estos gráficos de líneas de sin valor basados en las categorías (P1 y P2) de tal manera que solo muestre 4 P2 en la selección de P2 o viceversa.

Creé una tabla personalizada con 2 columnas con características y categorías y escribí la instrucción Switch en el valor seleccionado, pero no funciona.

Selección: SWITCH(TRUE(),

SELECTEDVALUE('Feature Selection'[Features]) á "ThirdPartyActiveUsage", SUM(TenantData[Third Party Active Usage]),

SELECTEDVALUE('Feature Selection'[Features]) á "CAActiveUsage", SUM(TenantData[CA Active Usage]),

SELECTEDVALUE('Feature Selection'[Features]) á "AppProxyActiveUsage", SUM(TenantData[AppProxy Active Usage])

)

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@v-pussah

Puede probar Unpivot Columns en el Editor de consultas y, a continuación, aprovechar el campo Leyenda.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-chuncz-msft
Community Support
Community Support

@v-pussah

Puede probar Unpivot Columns en el Editor de consultas y, a continuación, aprovechar el campo Leyenda.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

La despivotación es la solución, pero el problema es el tamaño de los datos. al despivotar tiene 25M filas.

AiolosZhao
Memorable Member
Memorable Member

Hola @v-pussah ,

Creo que puedes usar la función de marcador para hacerlo.

Cree dos tablas, una para P1 y otra para P2 y cree dos marcadores para estas dos tablas.

A continuación, cree una columna con dos valores, como: P1 y P2.

Haga clic en P1 para los marcadores, P2 para los marcadores y, para el botón, puede utilizar la selección de fuerza.

Por favor, inténtelo.

Aiolos Zhao





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




amitchandak
Super User
Super User

@v-pussah,La información que ha proporcionado no está aclarando el problema para mí. Por favor, explíquelo con un ejemplo. Puede compartir datos de ejemplo y salida de muestra.

Aprecia tus Felicitaciones.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.