Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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

@Anonymous

 

Please see attached pbix file

 

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

 

imes.png


Regards
Zubair

Please try my custom visuals

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Any ideas?

@Anonymous

 

Please see attached pbix file

 

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

 

imes.png


Regards
Zubair

Please try my custom visuals

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors