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
naizam
Helper II
Helper II

Mostrar valores predeterminados en Table visual

Hola expertos,

Buscando una solución/trabajar alrededor de un problema que me encontré con. Tengo un tablero con 4 iconos(la tabla visual se muestra para que parezca una tarjeta)en la fila superior. Estos mosaicos muestran el recuento de 4 estados diferentes. Otro objeto visual de tabla que se muestra en la parte inferior que muestra todo de forma predeterminada. El usuario puede hacer clic en cualquier recuento de estado en la parte superior y el objeto visual inferior se filtrará para mostrar solo el estado seleccionado.

Lo que estoy tratando de lograr es mostrar sólo el estado activo en la tabla inferior de forma predeterminada. El usuario debe tener la capacidad de seleccionar cualquier otro estado haciendo clic en el recuento de staus superior, así. ¿Hay alguna manera de hacer esto? Sample Muestra

Gracias

Naizam

3 REPLIES 3
v-alq-msft
Community Support
Community Support

Hola, @naizam

Si usted toma la respuesta de alguien, por favor márquela como la solución para ayudar a los otros miembros que tienen los mismos problemas a encontrarla más rápidamente. Si no, avísame y trataré de ayudarte más. Gracias.

Saludos

Allan

Hola @v-alq-msft ,

Gracias por la solución, gracias. Aún no he tenido la oportunidad de probar esto. Actualizaré el resultado en los próximos días.

Gracias

Naizam

v-alq-msft
Community Support
Community Support

Hola, @naizam

Según su descripción, creé datos para reproducir su escenario. El archivo pbix se adjunta al final.

e1.png

Puede crear medidas como se indica a continuación.

Top Active = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
            ALLSELECTED('Table'),
            [Status]="Active"
        )
    ),0
)
Top Retired = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
        ALLSELECTED('Table'),
        [Status]="Retired"
        )
    ),0
)
Top On Hold = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
        ALLSELECTED('Table'),
        [Status]="On Hold"
        )
    ),0
)
Top Migrated to AWS = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
        ALLSELECTED('Table'),
        [Status]="Migrated to AWS"
        )
    ),0
)
Bottom Active = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
        ALL('Table'),
        [Status]="Active"
        )
    ),0
)
Bottom Retired = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
        ALL('Table'),
        [Status]="Retired"
        )
    ),0
)
Bottom On Hold = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
        ALL('Table'),
        [Status]="On Hold"
        )
    ),0
)
Bottom Migrated to AWs = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
        ALL('Table'),
        [Status]="Migrated to AWS"
        )
    ),0
)

Resultado:

e2.png

Si malinterpreta sus pensamientos, por favor muéstrenos algunos datos de muestra y el resultado esperado. Gracias.

Saludos

Allan

Si este post ayuda, entonces considera Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

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.