Forum Discussion
twalsh0625
9 years agoAdvocate I
Finding Repeated values in a table, within a date range
I have a list of cases associated with customers. Basic customer support case info included. I would like a measure in the PBIX table that checks to see if that customer account appears again, with a...
- 9 years ago
This is quite a tricky problem. I think it is best solved before you load the data rather than trying to solve it in Power BI using DAX.
I have a working solution for your here. https://www.dropbox.com/s/51eicg5p2wo6sfu/repeat%20ticket.pbix?dl=1
I had to use a stack of Power Query tricks to so I could find the previous record for each cusotmer and compare the close date. I think this needs a blog article to explain as there a lot in it. Let me see what I can do for this Tuesday.
Edit: this is now on my blog at http://exceleratorbi.com.au/use-power-query-compare-database-records/
Nawaaz
5 years agoFrequent Visitor
Thanks very much for this post and your helpful blog Matt. It reminds me, I need to continue following your book to learn DAX! All the best