Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Team,
I am new to BI and needed quick help to achieve the highlighted columns from the data set below. I have provided the intended outcomes in the last two columns in Blue.
Thanks in advance!
Solved! Go to Solution.
Hi @Anonymous ,
Based on my test, you could refer to below steps:
Create a weeknum column:
weekday = WEEKDAY('Table1'[Date of delivery],2)
Create two columns:
Column = [Date of delivery]+ROUNDDOWN('Table1'[SLA]/5,0)*5+ROUNDUP('Table1'[SLA]/5,0)*2+MOD('Table1'[SLA],5)
Actual days = DATEDIFF('Table1'[Date of delivery],[Column],DAY)
Result:
You could also download the pbix file to have a view.
Regards,
Daniel He
Hi @Anonymous ,
Based on my test, you could refer to below steps:
Create a weeknum column:
weekday = WEEKDAY('Table1'[Date of delivery],2)
Create two columns:
Column = [Date of delivery]+ROUNDDOWN('Table1'[SLA]/5,0)*5+ROUNDUP('Table1'[SLA]/5,0)*2+MOD('Table1'[SLA],5)
Actual days = DATEDIFF('Table1'[Date of delivery],[Column],DAY)
Result:
You could also download the pbix file to have a view.
Regards,
Daniel He
Hi @v-danhe-msft ,
Thank you very much for your help. Yes! This is exactly what I was trying to achieve! However, I noticed the 'Actual days' field doesn't exclude weekends. I couldn't proceed further as I also have some other columns and measures to apply based on these values available. Could you please review it once more?
I have attached the screenshot again for your easy reference purpose. Many thanks for your quick help.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 44 | |
| 40 | |
| 29 | |
| 19 |
| User | Count |
|---|---|
| 202 | |
| 130 | |
| 102 | |
| 72 | |
| 55 |