I am trying to calculate Total sales for business weeks. We have a couple of dollar sales on holidays that I would like to count on next business day. Trying to figure out the best way to accomplish that. I have working days column available in the date table but I am not sure how can I make sure the sales gets added to the next business day.
Any help would be appreciated.
Hi Sam,
The second video (Dealing with Multiple Currencies in Power BI) gets me closer to the solution but not there yet.
I have a table with our workday sales but there is some amount is showing in off days (by our branch in Asia) which I ideally would like to count on our next business day.
For example, I want to show 1.25 added to the next workday.
Let me explain the reason I want nonworking days sales added in next business days is that when I am using total sale amount to get rolling average or presenting a sales trending chart some sales amount converted on a nonworking day makes my averages trend line drops. My model for this report is very simple but I am trying to group any nonworking days sales to next business day. I apologize if I am still confusing you. Please let me know.
It worked great! There few things I did different. Instead of “Monday” I used “Work Day” (I have company holidays imported from sharepoint). It seems to work very well. Thank you for your help!
Hi Sam, It works well with “weekend” but it doesn’t work with “holidays/off Day”. We had Memorial day on Monday 28th and Christmas Holiday on Friday so I was trying to see if I can use “work day” instead of “Monday” to avoid that. The numbers are random It’s not showing right results.
Is there any way I can replace “-3” in the formula to next business day.
This should work if it is using the logic I have described.
I can’t really tell what the issue it if no detail is included in the post. Please be more descriptive and add images of current results and columns you have created.
Hello. I found this post through a Google search and this is exactly what I need. I have copied the above formula, and changed the names of columns and measures to fit my PowerBI. However, I am not receiving the desired result.
Below is my formula.
Total Sales Non Weekend Days =
VAR WeekendCheck = OR ( SELECTEDVALUE(‘Calendar’[Day Type]) = “Weekend”, SELECTEDVALUE(‘Calendar’[Day Type]) = “Holiday”)
VAR WorkdayCheck = SELECTEDVALUE(‘Calendar’[Day Type]) = “Work Day”
Again, same as the one in the original post, but changes made to fit my model. I am not able to get past the Logic 1 in the IF Statement,
IF( WeekendCheck = True, BLANK(),
My Calendar table does in fact have a Day Type column with “Weekend”, “Holiday”, and “Work Day” as values. However, my table this is not returning Blank() values.
Please let me know if I need to send my file for further review.