Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi all,
I have a data like this.
| CustomerName | Mobile | Pincode | Area | Taluk | City | State | Country |
| AmbArish | 6360302377 | 562104 | Peresandra | Chik Ballapur | Chikkaballapur | Karnataka | India |
| Shreyas enterprises | 6360339767 | 560040 | Vijayanagar (Bangalore) | Bangalore North | Bangalore | Karnataka | India |
| Shreyas enterprises | 6360339767 | 560040 | Vijayanagar (Bangalore) | Bangalore North | Bangalore | Karnataka | India |
| Gotham | 6360432337 | 572216 | Nagasandra-gubbi | Gubbi | Tumkur | Karnataka | India |
| RAJA NAIK | 6360700489 | 577204 | Marketyard APMC-Shimoga | Shimoga | Shimoga | Karnataka | India |
| bheerappa h jogi | 6360777275 | 587115 | Bhagavati | Bagalkot | Bagalkot | Karnataka | India |
| R S ENGINEERING WORKS | 6361096519 | 577401 | Sagar | Sagar | Shimoga | Karnataka | India |
| R.S ENGINEERING WORKS | 6361096519 | 577401 | Sagar | Sagar | Shimoga | Karnataka | India |
| m b hallur | 6361400636 | 587111 | Kirsur | Bagalkot | Bagalkot | Karnataka | India |
| I NEED THE FOLLOWING RESULT | |||||||
| TOTAL CUSTOMERS | 9 | ( BASED ON MOBILE COUNT) | |||||
| REPEATED CUSTOMERS | 2 | ( BASED ON MOBILE COUNT) |
I need to calculate the repeated customers based on mobile numbers. If one or more time a mobile number is repeated, i need the count as 1 only.
Thanks in advance.
Regards
SRK
Solved! Go to Solution.
pls try this
total customers = COUNTROWS('Table')
repeated customers =
VAR tbl=SUMMARIZE('Table','Table'[Mobile],"No.",COUNTROWS('Table'))
return countrows(FILTER(tbl,[No.]>1))
Proud to be a Super User!
pls try this
total customers = COUNTROWS('Table')
repeated customers =
VAR tbl=SUMMARIZE('Table','Table'[Mobile],"No.",COUNTROWS('Table'))
return countrows(FILTER(tbl,[No.]>1))
Proud to be a Super User!
| User | Count |
|---|---|
| 52 | |
| 41 | |
| 32 | |
| 15 | |
| 13 |
| User | Count |
|---|---|
| 84 | |
| 72 | |
| 37 | |
| 27 | |
| 24 |