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
Anonymous
Not applicable

subtotal de columna incorrecto en mi visual de Matriz de Power BI

Estoy tratando de obtener el subtotal de columna correcto para un campo en particular que se está calculando mediante las siguientes medidas

1. #SavingsTSMGlobal ?

CALCULATE(SUM(Savings[sum(Risk Percentage*USLP Savings)])/1000000,FILTER(Savings,Savings[ICB]-"YES"),Savings[Scenario]-"YTD",Savings[Strategic Pillar]-"TSM initiative")
2.#SavingsTSMLocal ?
CALCULATE(SUM(Savings[sum(Risk Percentage*USLP Savings)])/1000000,FILTER(Savings,Savings[ICB]-"NO"),Savings[Scenario]-"YTD",Savings[Strategic Pillar]-"TSM initiative")
3.
#SavingsTotal de la casa de los #SavingsTotal
SI(
CONTAINS(Ahorros,Ahorros[Ubicación - Región (L1)],"Global"),[#SavingsTSMGlobal],[#SavingsTSMLocal])
Estoy poniendo mi #SavingsTotal en mi matriz visual, pero cuando enciendo los subtotales de columna, todos los otros campos están llegando correctamente, pero para esto el subtotal de columna está tomando #SavingsTSMGlobal valor en lugar de calcular realmente el total.
Estoy luchando desde 6 horas para hacer esto bien. Nada parece funcionar. Cambié a Table Visual, pero aún así el valor TOTAL salió mal.
Un poco de fondo en mi matriz visual
Las secciones de columna incluyen el nombre de columna CLUSTER procedente del archivo CLUSTER MASTER que está conectado a mi archivo SAVINGS mediante muchos a muchos (cluster master filters region 1 ) active relatioship.
También he activado el "show on rows".
No hay filas presentes.

Cualquier ayuda es apreciada!!
2 REPLIES 2
Anonymous
Not applicable

@amitchandak Creo que el problema es #SavingsTotal declaración. El subtotal de columna solo toma el valor presente en la parte TRUE de la instrucción IF.
No voy a ser capaz de compartir el archivo, voy a tratar de organizar las capturas de pantalla.

amitchandak
Super User
Super User

@aishwariyag96, la fórmula ve bien. Puedes probar como

CALCULATE(SUM(Savings[sum(Risk Percentage*USLP Savings)])/1000000,FILTER(Savings,Savings[ICB]-"NO" && Savings[Scenario]-"YTD" && Savings[Strategic Pillar]-"TSM initiative"))

¿Puede compartir datos de ejemplo y salida de ejemplo en formato de tabla? O una muestra de pbix después de eliminar datos confidenciales.

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.

Top Kudoed Authors