I need to get Distinct count of columns in a sharepoint list based on other column.
For Example, a List look like this,
Name Location Gender
AAA Mumbai Male
BBB Bangalore FeMale
CCC Jaipur FeMale
DDD Mumbai Male
EEE Jaipur Male
I need a count based on
1. In mumbai Male=2 & Female=0
2. In Bangalore Male=0 & Female=1
3. In Jaipur Male=1 & Female=1
Thanks in Advance...