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
HALEYSTODDARD
Frequent Visitor

Weekend Volume Criteria

Hello,

I'm trying to come up with a formula that essentially adds Saturday volumes less than 100 units to Friday's totals, else if volumes exceed 100 units then keep volumes under saturday.

 

For example, I need 9/3 to be added to 9/2 since it's just volumes that were completed right after midnight. 

HALEYSTODDARD_0-1664910263861.png

 

However here, I would need it to stay under this Saturday date (8/20) since significant volume was processed. 

HALEYSTODDARD_1-1664910780038.png

 

1 ACCEPTED SOLUTION
jgeddes
Super User
Super User

I took a crack at this creating a dataset of volume of items per date.

jgeddes_0-1664913066102.png

My understanding of your request is that if the total Saturday volume is less than 100 then the item volumes are added to Friday and Saturday is then 0. If the volume is 100 or greater on Saturday then the item volumes are left as is.
To get the desired result I created a calculated column in the table.

jgeddes_1-1664913314809.png

And ended up with the result

jgeddes_2-1664913345795.png

Hope this gets you pointed in the right direction.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
jgeddes
Super User
Super User

I took a crack at this creating a dataset of volume of items per date.

jgeddes_0-1664913066102.png

My understanding of your request is that if the total Saturday volume is less than 100 then the item volumes are added to Friday and Saturday is then 0. If the volume is 100 or greater on Saturday then the item volumes are left as is.
To get the desired result I created a calculated column in the table.

jgeddes_1-1664913314809.png

And ended up with the result

jgeddes_2-1664913345795.png

Hope this gets you pointed in the right direction.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Greg_Deckler
Community Champion
Community Champion

@HALEYSTODDARD What does your source data look like? Can you post as text? Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.