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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
apamix
Regular Visitor

SUMX till amount of value

Hello All, 

 

I have below pivot table : 

 

WeeksOrdersBoxesRecommended boxesCreate HoursPacking Hours
1     
Monday4505113501715
Tuesday2353143501110
Wednesday2603433501210
Thursday19724335088
Friday18023435087

 

To create column "Boxes" I have been used below measurement : 

 

 

Sum-Boxes:=SUMX ( FILTER ( Range, Range[Rep] = "Outgoing" ), Range[Lines] )

 

 

 

And to calculated "Create Hours" I have been used below measurement : 

 

 

 

Outgoing Boxes:=ROUNDUP(SUM(Range[Boxes CycleTime])/3600,0)

 

 

 

I would like to add column called "Recommended Boxes" which will present a static value of 350 boxes and to create a measurement which will  calculdated the "Create Hours" only for those 350 lines. 

 

Thanks in avance for shared ideas and details.  

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

your sample data does not match your formulas. Please provide sanitized sample data that fully covers your issue. 

Please show the expected outcome based on the sample data you provided. 

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

View solution in original post

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @apamix 

 

Can you provide more sample data or simple pbix files? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures.

 

Best Regards,

Community Support Team _Charlotte

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

lbendlin
Super User
Super User

your sample data does not match your formulas. Please provide sanitized sample data that fully covers your issue. 

Please show the expected outcome based on the sample data you provided. 

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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