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
constanza
New Member

DAX similar "SUMIFS()

 

I need to make a DAX similar in XLS as "·SUMIFS". If into de table called "fecha" it founds "julio", and in the column "familia" found "DOC", sum the column "Cto de Ventas"

1 ACCEPTED SOLUTION
v-ljerr-msft
Employee
Employee

Hi @constanza,

 

You should be able to use the formula below to create a measure in your scenario. Smiley Happy

measure =
CALCULATE (
    SUM ( 'Table1'[Cto de Ventas] ),
    FILTER ( 'Table1', 'Table1'[fecha] = "julio" && 'Table1'[familia] = "DOC" )
)

Note: You'll need to replace 'Table1' with your real table name.

 

Regards

View solution in original post

2 REPLIES 2
v-ljerr-msft
Employee
Employee

Hi @constanza,

 

You should be able to use the formula below to create a measure in your scenario. Smiley Happy

measure =
CALCULATE (
    SUM ( 'Table1'[Cto de Ventas] ),
    FILTER ( 'Table1', 'Table1'[fecha] = "julio" && 'Table1'[familia] = "DOC" )
)

Note: You'll need to replace 'Table1' with your real table name.

 

Regards

Anonymous
Not applicable

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
Top Kudoed Authors