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
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors