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
djs25uk
Helper I
Helper I

Omitir filtro de nivel de página para visual único/medida

Estimados Todos

Tengo un filtro de nivel de página en Student[StudentYear] 7. Sólo hay un objeto visual en la página que me gustaría ignorar este valor, ya que me gustaría que mostrara los valores de Student[StudentYear] 8 en su lugar.

He intentado crear una medida que sumará sólo los valores donde StudentYear es 8, pero no está devolviendo ningún resultado. Creo que todavía está recogiendo el filtro de nivel de página. ¿Hay alguna manera de omitir el filtro de nivel de página para un objeto visual seguro?

DonationsPreviousYearGroup = CALCULATE(SUMX(FILTER('SchemePayment',RELATED(Student[StudentYear])=8),SchemePayment[SchemePaymentAmount]))

Muchas gracias por su ayuda.

Daniel

2 REPLIES 2
amitchandak
Super User
Super User

@djs25uk , Probar como

 DonationsPreviousYearGroup = CALCULATE(SUMX('SchemePayment',SchemePayment[SchemePaymentAmount]), filter(all(Student),Student[StudentYear]=8))

¡Muchas gracias! Traté de usar 'Todos', pero claramente no estaba usando en el lugar correcto. Eres brillante.

Muchas gracias

Dan

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.