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
4pepesanchez4
Frequent Visitor

Add up income as long as the type (other column) is different from XXX

How can I add my "Income from Services" as long as the type of service is different form "04. Tarjetas y bonos"?

 

4pepesanchez4_0-1648459526807.png

 

Thanks a lot!!

1 ACCEPTED SOLUTION

@4pepesanchez4  My mistake 

 

Total Ingr.Servicios Iva Incluido =
CALCULATE (
    SUM ( Table[Ingr.Servicios Iva Incluido] ),
    Table[Servicios_Productos.Tipo Servicio] <> "04. Tarjetas y bonos"
)

 

View solution in original post

3 REPLIES 3
4pepesanchez4
Frequent Visitor

it´s giving me an error. Dont i have to put the SUM too? 

 

Ventas Reales:=CALCULATE(SUM(Mensuales[Ingr. Servicios Iva Incluido]; Mensuales[Servicios_Productos.Tipo Servicio] <> "04. Tarjetas y Bonos"))

 

 

tamerj1
Super User
Super User

@4pepesanchez4 
You may try

Total Ingr.Servicios Iva Incluido =
CALCULATE (
    Table[Ingr.Servicios Iva Incluido],
    Table[Servicios_Productos.Tipo Servicio] <> "04. Tarjetas y bonos"
)

@4pepesanchez4  My mistake 

 

Total Ingr.Servicios Iva Incluido =
CALCULATE (
    SUM ( Table[Ingr.Servicios Iva Incluido] ),
    Table[Servicios_Productos.Tipo Servicio] <> "04. Tarjetas y bonos"
)

 

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 Solution Authors