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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Excluir valor de la medida

Hola

Soy bastante nuevo en el mundo de Power BI y estoy luchando con una medida, que no puedo hacer bien.

Esta es una parte muy pequeña del conjunto de datos:

Valor GL
4000 1500
4090 2000
4100 4220
4500 8000
4501 2300
4590 50
7001 1000
7002 250
7003 200
7006 710
8001 29000
8002 3000


Quiero una medida con los valores de todas las cuentas GL, excepto de los valores de la cuenta 4500, 4501 y 7006. He intentado algunas cosas, pero no obtuve el resultado correcto.

¿Pueden ayudarme un poco?

¡Muchas gracias!

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

@Rodelaar
Pruébalo.

Some GLs = 
CALCULATE ( 
    SUM ( YourTable[Value] ),
    KEEPFILTERS ( NOT YourTable[GL] IN {"4500","4501","7006"} )
)

Gracias @jdbuchanan71, ¡he aprendido algo hoy!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors