cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
svenstahler
New Member

Count as 1 as long as running total greater than zero

Hello Community

 

I do have a little problem and don't know how to solve it.

As long as the running total per lot is greater than zero, we would like to count as one (pallet).

Unfortunately, I haven't found any solution yet.

Here is my example:

svenstahler_0-1675093683985.png

 

The Lot No CHARGE0405 should be counted as 1 until March 25.
So in total, overall the 420 pieces there should be counted:
Lot CHARGE0000013568 as 1 (140 pieces)
Lot CHARGE0000013567 as 1 (140 pieces)
Lot CHARGE0000013566 as 1 (140 pieces

Can you give me any advice how I can solve it with the logic of DAX and time intelligence?

Thanks for your support!

Kind regards
Sven

 

0 REPLIES 0

Helpful resources

Announcements
Winner of T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Find out who won the T-Shirt Design Challenge and the top 3 finalists.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.