Christian has attended:
Excel PowerPivot course
Power BI Modelling, Visualisation and Publishing course
Count the number of unique visits (date for each customer)
I have a table of ticket sales, showing each individual ticket sold and the date of the event. In a related table (Customers), I have a list of CRM ID's and names.
A customer buys 5 x tickets to one event on one date, then another 3 tickets to an events on another date. I need to have either a measure or a column in a table to show how many distinct dates a customer has visited. In this case, this would be 2 visits. I'm not sure if this should be a measure, or a column in the Customers table.
Plus, I need help on how to write the formula please!
thanks!
RE: Count the number of unique visits (date for each customer)
I 'think' this might have worked:
UniqueVisits = CALCULATE(DISTINCTCOUNT(FactTickets[Event Date]),USERELATIONSHIP(FactTickets[ftClientGuid],DimClients[dcClientGUID]))
ftclientguid and dcclientguid are the CRM ID relation
Does that look about right? I've done some testing but would be nice to know if I've used the right type of formula?
Christian