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
Jeevan1991
Helper III
Helper III

Finding Bills & Qty Outlets

Dear Friends,

 

I have below data set.

Outlet IDDateBillNoTimeQty
34586201-Apr-2021185108:50:59 AM5
50934301-Apr-2021630209:30:24 AM4
40427401-Apr-202136309:32:46 AM5
40427401-Apr-2021112909:33:38 AM6
51622201-Apr-202173010:10:06 AM16
51622201-Apr-2021614810:45:39 AM18
33880101-Apr-2021623701:18:00 PM31
33880101-Apr-2021503201:46:13 PM17
44434601-Apr-2021357902:24:45 PM15
52927601-Apr-2021392004:18:51 PM18
34586201-Apr-2021305905:10:30 PM27
52927601-Apr-2021594106:06:19 PM30
44434601-Apr-2021558508:13:49 PM25
50934301-Apr-2021373708:48:01 PM42

 

I want to find "First Bill of the Day", "First Outlet to Cross 10 Qty in the day", "First Outlet to cross 25 Qty in the day".

Typically i want the result like the below.

 

First Bill of the Day
Outlet IDTimeBillNoQty
34586208:50:59 AM18515

 

First Outlet to Cross 10 Qty
Outlet IDTimeQty
40427409:33:38 AM11

 

First Outlet to Cross 25 Qty
Outlet IDTimeQty
51622210:45:39 AM34

 

Please help me on this.

@amitchandak @parry2k @Geradav @PhilipTreacy @Kinjal @Sujit_Thakur 

2 ACCEPTED SOLUTIONS
Jihwan_Kim
Super User
Super User

Hi, @Jeevan1991 

Please check the below picture and the link down below that is the sample pbix file.

All measures are in the sample pbix file.

 

Picture7.png

 

https://www.dropbox.com/s/qabwy9d8zntksew/Jeevan1991.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster.

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


View solution in original post

Icey
Community Support
Community Support

Hi @Jeevan1991 ,

 

Please check the attachment:

Qty.PNG

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

8 REPLIES 8
Icey
Community Support
Community Support

Hi @Jeevan1991 ,

 

Please check the attachment:

Qty.PNG

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Icey,

 

Thank you so much for your time and help.

 

This is working for me. Thank you so much.

Jihwan_Kim
Super User
Super User

Hi, @Jeevan1991 

Please check the below picture and the link down below that is the sample pbix file.

All measures are in the sample pbix file.

 

Picture7.png

 

https://www.dropbox.com/s/qabwy9d8zntksew/Jeevan1991.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster.

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


Hi @Jihwan_Kim 

 

Technically this result is fine but i need result in 3 different tables.

Like i have posted in the previous post.

 

And also if the data keeps adding day by day, for the latest date it haas to calculate the result.

Hi,

check  the below link

https://www.dropbox.com/s/qabwy9d8zntksew/Jeevan1991.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster.

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


Hi Jiswan,

 

It is working but this is not working when we have more than one day data.

Can you please apply the smae logic by adding next day data and this data will be keep adding as the days goes on.

Hi,

please check the below link, if it is working as you expected.

In the initial sample data, all the dates are the same.

Now, I assume that the situation is changed.

I also assumed in the sample pbix file that the cumulative counting is reset every day.

I hope I understood correctly.

 

https://www.dropbox.com/s/qabwy9d8zntksew/Jeevan1991.pbix?dl=0

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster.

 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


Hi Jihwan,

 

you are correct every day cumulative total should get change and based on this my result also should change.

 

Technically for the latest sales data my results should appear. Please add another day sample data and test.

The attached power bi file still giving me wrong result.

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.