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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Syndicate_Admin
Administrator
Administrator

Cree una medida para mostrar las ventas hasta ayer y mostrar en blanco para todas las demás fechas futuras

Hola

Tengo un informe en el que no quiero incluir las ventas de hoy y solo quiero mostrar las ventas en blanco para todas las fechas posteriores a ayer.

¿Cómo puedo obtener esto?

neeraj17_0-1682878486774.png

Gracias

NJ

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Hola

Suponiendo que en su visual, ha arrastrado fechas de la tabla del calendario, escriba esta medida

=if(min(calendario[fecha])>=hoy(),en blanco(),[Ventas])

Espero que esto ayude.

Syndicate_Admin
Administrator
Administrator

Por favor, pruebe esto

IF(MAX('Sales'[Date])=TODAY(),BLANK(),SUM('Sales'[Value]))

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.