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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Can I combine sum total of the countx measure?

Hello master,

 

I've got stuck when I want to calculate the sum for the measure. Can I add up the sum of the achievements with conditions of more than 6 months and a variance of more than 100%.

Screenshot_1.png

And this is my achievement measure :

Achievement = COUNTX(VALUES('Emp Data'[Emp ID]), if([Variance %] >= 1, [Emp ID], BLANK()))+0

 

Thanks you

7 REPLIES 7
tamerj1
Super User
Super User

@Anonymous 
What is the expected result?

Anonymous
Not applicable

I want to know the achievement of the sales agent reaching the target every month, example sales agent A in 1 year has reached the target (>= 100%) in 6 times.

@Anonymous 

Ok but how are you planing to display this result? At the total row of the matrix (column totals) or in a separate table or in a card visual?

Anonymous
Not applicable

The desired results are displayed in a separate table

@Anonymous 

That is sliced by?

Anonymous
Not applicable

Sliced by month, for example if I filter November, it will count how many times the agent has reached the target until November

@Anonymous 

Please try

Count Achievements Above 100% =
SUMX (
FILTER (
CROSSJOIN ( VALUES ( 'Emp Data'[Emp ID] ), ALL ( 'Date'[Month] ) ),
'Date'[Month] <= SELECTEDVALUE ( 'Date'[Month] )
),
IF ( CALCULATE ( [Achievement], 'Date'[Month] = 'Date'[Month] ) >= 1, 1 )
)

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.