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
prajaktakeni11
Helper I
Helper I

Distinct duplication in cards

Hello , I am showing dupliaction of subtype data in tabular version (Subtypetotal = countrows(Table)and filtering >1 )
I want to to show total number of type in cards as 4 (I have tried using distinct count but it is not giving me correct value), as per my data , but unable to get it can someone help Thank you in advance !!

CapturePower bi Query.PNG

2 REPLIES 2
Anonymous
Not applicable

Hi @prajaktakeni11 ,

Table data are as follows:

vzhouwenmsft_0-1707185100567.png

 

Please follow these steps:
1. Use the following DAX expression to create a measure named 'TotalNumberOfType'

TotalNumberOfType = COUNTROWS(VALUES(Tabelle1[Type]))

2.Use the following DAX expression to create a measure named 'TotalNumberOfSub-Type'

TotalNumberOfSub-Type = COUNTROWS(VALUES(Tabelle1[Subtype]))

3. Final output

vzhouwenmsft_1-1707185257858.png

 

vzhouwenmsft_2-1707185270528.png

 

vzhouwenmsft_3-1707185281995.png

 

vzhouwenmsft_4-1707185292510.png

 

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

 

@Anonymous  Thank you for your reply , but this is counts of duplications and it is not working for me it i sstill giving me Total Amount not distinct values 

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric 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.

Users online (25)