cancel
Showing results for
Did you mean:
Highlighted
Frequent Visitor

## Calculation of Attendance through Sales data

Hi,

i need a masteradvice... i have a raw data of sales in which i have duplication of Sales promoters and dates.

 3345278 RCEM07SP010 2020-01-01 3345412 RCEM07SP010 2020-01-01 3345631 RCEM07SP010 2020-01-01 3345772 RCEM07SP010 2020-01-01 3345994 RCEM07SP010 2020-01-01 3346145 RCEM07SP010 2020-01-01 3346343 RCEM07SP010 2020-01-01 3346557 RCEM07SP010 2020-01-01 3346808 RCEM07SP010 2020-01-01 3346993 RCEM07SP010 2020-01-01 3347228 RCEM07SP010 2020-01-01 3347500 RCEM07SP010 2020-01-01 3347778 RCEM07SP010 2020-01-01 3347916 RCEM07SP010 2020-01-01 3348066 RCEM07SP010 2020-01-01 3348186 RCEM07SP010 2020-01-01 3348275 RCEM07SP010 2020-01-01 3348421 RCEM07SP010 2020-01-01

Now here i want to calculate Attendance that for suppose on Jan how many Sales promoters have worked . so i basically i am looking for distinct count of dates & Distinct count of Salespromoters. need to perform a calculation sum of salespromoter days in Jan.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team

## Re: Calculation of Attendance through Sales data

Hi @Hamza-ali ,

You could refer to my sample for details.

Best Regards,
Zoe Zhi

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

5 REPLIES 5
Super User IV

## Re: Calculation of Attendance through Sales data

So, for the data presented, is the number you are looking for 1 date and 1 promoter? DISCTINTCOUNT will give you the count of the distinct values in a column.

### I have book! Learn Power BI from Packt

Proud to be a Datanaut!

Frequent Visitor

## Re: Calculation of Attendance through Sales data

yes i am looking for how many promoters were present on a particular date, or in a month, or qtr

Community Support Team

## Re: Calculation of Attendance through Sales data

Hi @Hamza-ali ,

I am not sure what is your detailed requirement, if you want to get count, you could just use distinct count and create a calendar table as slicer. You could refer to my sample for details.

If this is not what you want, please correct me and inform me more detailed information(such as your expected output and your sample data)? Then I will help you more correctly.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

Frequent Visitor

## Re: Calculation of Attendance through Sales data

https://we.tl/t-NIyjepV8Aw

what i need is number of 230 with measure... have a look of file

Community Support Team

## Re: Calculation of Attendance through Sales data

Hi @Hamza-ali ,

You could refer to my sample for details.

Best Regards,
Zoe Zhi

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

Announcements