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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply

How to sum per 2 column criterias

Hello Everyone

 

Please any suggestion how I could do the next

 

I have a table like my below image where I need to show who one has completed all courses.

Anne has completed all the 3 courses so I will have to show her name, and any user who completes the all 3 courses which means "3points". The visualization I think is a table, if I set the user name only is enough 🙂 

JOSELUISMTZRMZ1_1-1654205631922.png

The table has been Transformed and it is used in another visualizations, so DAX is what I'm looking for

Any suggestion how to sum the column POINT 1 per user and status = done?

thank you 😉

 

PS. I've tried summarizecolumn, groupby but I'm not able to SUM per users and status 😐

1 ACCEPTED SOLUTION
Vera_33
Resident Rockstar
Resident Rockstar

Hi @JOSELUISMTZRMZ1 

 

In your sample data, JHON has completed 3 courses, too. When it is done there is 1 point, do you need to check the status as well?

TEST = 
VAR TotalCourse=COUNTROWS(VALUES('Table'[COURSE]))
RETURN
IF(SUM('Table'[POINT])=TotalCourse,TotalCourse)

Vera_33_0-1654218200418.png

 

View solution in original post

2 REPLIES 2
Vera_33
Resident Rockstar
Resident Rockstar

Hi @JOSELUISMTZRMZ1 

 

In your sample data, JHON has completed 3 courses, too. When it is done there is 1 point, do you need to check the status as well?

TEST = 
VAR TotalCourse=COUNTROWS(VALUES('Table'[COURSE]))
RETURN
IF(SUM('Table'[POINT])=TotalCourse,TotalCourse)

Vera_33_0-1654218200418.png

 

Nice try, it works 🙂 

Thank you for your suggesstion, I was still not able to get it.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.