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

SUM or SUMX

Hello All, 

 

I'm a total newbie in Power BI and I need some Help

 

I got a Query where Column A is Amount of Errors, Column B is Type of Process but and need only to add the amount of errors of a Certain process, I know in excel there a Sum IF formula but I don't have a clue in Power BI if I should use SUM or SUMX to do this, If anyone can guide me on how the syntax should be. 

1 ACCEPTED SOLUTION
sokg
Solution Supplier
Solution Supplier

You must use CALCULATE.

 

Try this :

 

Sum Amount of Errors for Certain process = CALCULATE(SUM(Column A);Column B="Certain process").

 

Use " " if column B is text.

 

Where do you want to display that measure????

View solution in original post

1 REPLY 1
sokg
Solution Supplier
Solution Supplier

You must use CALCULATE.

 

Try this :

 

Sum Amount of Errors for Certain process = CALCULATE(SUM(Column A);Column B="Certain process").

 

Use " " if column B is text.

 

Where do you want to display that measure????

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.