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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Larrauria
Frequent Visitor

Matrix values not adapting to Slicer - Count Duplicates

Hi all, I have created a Matrix based on a calculated column: 

Duplicados = CALCULATE(COUNT([ID Candidato]),FILTER (Full, [ID Candidato] = EARLIER('Full'[ID Candidato]))). Total values in the Matrix are correct, but if I apply a filter/slicer then the values doesn't recalculate properly as the count of the values is different depending on the filter applied.
 
Is there a way of defining that colum to recalculate if a filter is applied?
 
Thanks 
3 REPLIES 3
Larrauria
Frequent Visitor

Im using the following formula for the column "Duplicados":

Duplicados = CALCULATE(COUNT([ID Candidato]),FILTER (Full, [ID Candidato] = EARLIER('Full'[ID Candidato])))

If the formula is applied without filters the calculation is correct, but as soon as I apply a filter "Consultant" in this case the calculation fails


If the formula was working correctly last row should show 1 in field "Duplicados" but is doesnt because if the filter is removed that specific "ID Candidato" is repeated 2 more times by other Consultant.

I hope this explains the issue I have.

Thanks in advance

 

ID Candidato.jpg

AlB
Community Champion
Community Champion

@Larrauria 

You seem to be mixing concepts.

I understand "Duplicados" is a calculated column. If so, its result will NOT change once it is calculated. Furthermore, the filter you are applying to the table are merely for visualizing, they do not change the contents of the table at all.

You'd have to do this through a table visual and a measure.

 

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

 

AlB
Community Champion
Community Champion

Hi @Larrauria 

You'll have to explain better. Pelase provide some sample data and show the expected result based on that data.

 

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.