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
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
Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 143 members 1,517 guests
Please welcome our newest community members: