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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.