cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Azat Regular Visitor
Regular Visitor

Number of buys within x min

Hi everyone,

 

Shop A and Shop B have its own sales sorted by date.

I want to find number of goods/merchandise  that were sold within certain amount of time, lets say within 1 min, by shop

 

example:

Shop name     Sale Date                    # of merchandise within 1 min

Shop A           15/12/18 12:14:01         1st merchandise

Shop B           15/12/18 12:14:05         2nd merchandise

Shop A           15/12/18 19:00:23         1st merchandise

Shop A           16/12/18 10:11:01         1st merchandise

Shop A           16/12/18 10:11:05         2nd merchandise

Shop B           16/12/18 14:20:22         1st merchandise

Shop A           16/12/18 18:30:55         1st merchandise

Shop B           17/12/18 17:50:43         1st merchandise

Shop A           18/12/18 12:01:32         1st merchandise

Shop B           19/12/18 12:50:43         1st merchandise

Shop B           19/12/18 12:50:44         2nd merchandise

Shop B           19/12/18 12:50:57         3rd merchandise

......

 

Thanks for any help

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Number of buys within x min

@Azat

 

Please see attached pbix file

 

Its a Power Query Solution...Please check the Query Editor for steps

 

imes.png

Try my new Power BI game Cross the River

View solution in original post

2 REPLIES 2
Highlighted
Azat Regular Visitor
Regular Visitor

Re: Number of buys within x min

Any ideas?

Super User
Super User

Re: Number of buys within x min

@Azat

 

Please see attached pbix file

 

Its a Power Query Solution...Please check the Query Editor for steps

 

imes.png

Try my new Power BI game Cross the River

View solution in original post

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)