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
Anonymous
Not applicable

Different results between two visuals

Hello,


In a table I display a number by personnel number. At the bottom of the table I get 93 which is the right number. This is not a measurement but just a field in a column set to "number of".

 

CharlyExperteam_0-1621859208405.png

 

However when I display this same field in a visual like the one below. I don't get the same number. In my table I have duplicates for some personnel numbers. This makes me 111.

CharlyExperteam_1-1621859235792.png

 

CharlyExperteam_2-1621859279168.png

 

CharlyExperteam_3-1621859290018.png

 


So a person can have several lines but I must retain only one time. Is there a solution apart from the deduplication in the form of a measure to obtain my result? 

I just want to find my 93 in the top left visual

Thank you !

 

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

The reason why you cant get the same number 93 in card visual is: you filterd the column Nombre darret in table visualbut you didnt filter the same column in card visual.

v-xiaotang_0-1622010192340.png

Table visual is able to categorize automatically according to the column Equipe & UO & Matricule, then you can filter column Nombre again based on the result. However, in card visual it doesnt support this function. So, you need to create the measure bellow and put it in card visual:

distinct count total = SUMX(FILTER(SUMMARIZE('Polyabsent',Polyabsent[Matricule],"s",SUM(Polyabsent[Nombre d'arrêt])),[s]>=3),[s])

result:

v-xiaotang_1-1622010192353.png

 

Best Regards,

Community Support Team _ Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

The reason why you cant get the same number 93 in card visual is: you filterd the column Nombre darret in table visualbut you didnt filter the same column in card visual.

v-xiaotang_0-1622010192340.png

Table visual is able to categorize automatically according to the column Equipe & UO & Matricule, then you can filter column Nombre again based on the result. However, in card visual it doesnt support this function. So, you need to create the measure bellow and put it in card visual:

distinct count total = SUMX(FILTER(SUMMARIZE('Polyabsent',Polyabsent[Matricule],"s",SUM(Polyabsent[Nombre d'arrêt])),[s]>=3),[s])

result:

v-xiaotang_1-1622010192353.png

 

Best Regards,

Community Support Team _ Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

how to associate a sum with a distinct ?

I want to sum a field taking into account the distinction by matricule. I can't write this measure ?

simrantuli
Continued Contributor
Continued Contributor

Hi @Anonymous,

Try using DISTINCTCOUNT function.

Anonymous
Not applicable

how share a pbix file ?

amitchandak
Super User
Super User

@Anonymous , what you have used distinctcount or count or sum. In the 2 last cases, it should be the same in grand total in card and table, unless the table has a filter.

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors
Top Kudoed Authors