Forum Discussion

frieso's avatar
frieso
Regular Visitor
9 years ago
Solved

How to filter distinct count across multiple dates

Hi everybody

 

I have a table with a List of opportunities, having dates when the first call of the opportunity took place, when the meeting took place, date of sending the offer, date of receiving the signed contract.

 

I now want to make a table, showing on an employee base how many calls, meetings etc an employee had in a given time of period.

 

i.E

Filter:

From Date 1.1.2017

To Date 18.1.2017

 

The table then shows:

 

EmployeeCallsMeetingsOffersContracts
Tom10523
Chris3331
Mike106210

 

As all the dates are independant and in multiple columns, how can I filter the table to sum up the values?

How can i let the user set the from/to dates on a visual basis?

 

Thanks for your help!

Frieso

2 Replies

  • MattAllington's avatar
    MattAllington
    Community Champion

    First I suggest you unpivot your columns so you have a single date column and a type column (e.g. Call, meeting, contract etc). You can then use a timeline slicer on a calendar table joined to your single date column to filter the period you want. I guess a countrows of the data table will do it.