Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
How to count no. of Duplcaite values ?
For Example: 11214, 11409,11990 ID has 2 values each
So how can I get Total no. of Customer with 2 different value using Dax
--> In this case there are 3
Solved! Go to Solution.
Hi @Anonymous
You can place a measure like this on a Card visual:
Customers with N Values = VAR _N = 2 //Change this to set the number of values you are interested in RETURN COUNTROWS ( FILTER ( SUMMARIZECOLUMNS ( Table1[Customer], "CountValues", DISTINCTCOUNT ( Table1[Value] ) ), [CountValues] = _N ) )
Instead of having _N hard-coded, you could use a slicer to set the value in a more dynamic fashion.
Hi @Anonymous
You can place a measure like this on a Card visual:
Customers with N Values = VAR _N = 2 //Change this to set the number of values you are interested in RETURN COUNTROWS ( FILTER ( SUMMARIZECOLUMNS ( Table1[Customer], "CountValues", DISTINCTCOUNT ( Table1[Value] ) ), [CountValues] = _N ) )
Instead of having _N hard-coded, you could use a slicer to set the value in a more dynamic fashion.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.