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
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
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.