This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi all,
Below is a sample of the data that was given to me. The goal (which seems pretty simple) is to count the number of times a customer opened an email sent to them using the Opened On date/time stamp. The crux is there has to be a 15-min interval between the opened times.
So in the example below, Customer A shows they opened the email 5x on 11/14 but it should only be counted 3x. The first and second time it was opened (at 9:37am and 9:38am) only counts once and the lat two times (at 11:56 and 11:56 AM) also only counts once. Customers B and C would have longer intervals between the times they opened the email so each one would be counted.
Do I need to create a date/time table first to get the intervals?
Thank you for any help in advance.
Solved! Go to Solution.
@Anonymous,
You may refer to the following post and use DATEDIFF.
@Anonymous,
You may refer to the following post and use DATEDIFF.
Hi
Thank you for that. I was actually able to create a similar measure, just took a little while to find the right combination. I'm halfway thru the solution but I think I might finally have it. I'll post again with the solution once I have it all figured out.
Thank you.
Also the title of my topic wasn't supposed to say DISCOUNT. It was supposed to say DISTINCT COUNT but apparently I combined the two words into one!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 24 | |
| 23 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 35 | |
| 30 | |
| 23 | |
| 22 |