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
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
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.

Top Solution Authors