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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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

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.

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (25)