cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors