Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Anonymous
Not applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Vencimento em dias uteis
12-02-2023
06:15 PM
Oi boa noite!
Eu trabalho com ordens e elas tem prazos de 5 e 10 dias. Com isso eu preciso somar a uma data esses prazos.
Exemplo prazo 5 dias : Data da ordem 01/12/2023 ela precisa vencer 08/12/2023 - em dias úteis Exemplo prazo 10 dias : Data da ordem 02/12/2023 ela precisa vencer 15/12/2023 - em dias úteis
Consegue me ajudar?
Eu trabalho com ordens e elas tem prazos de 5 e 10 dias. Com isso eu preciso somar a uma data esses prazos.
Exemplo prazo 5 dias : Data da ordem 01/12/2023 ela precisa vencer 08/12/2023 - em dias úteis Exemplo prazo 10 dias : Data da ordem 02/12/2023 ela precisa vencer 15/12/2023 - em dias úteis
Consegue me ajudar?
Solved! Go to Solution.
1 ACCEPTED SOLUTION

Anonymous
Not applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023
11:51 PM

Hi @Anonymous ,
You can create a calculated column as below to get it assume that you have one date table in your model:
Due Date =
MAXX (
TOPN (
'Table'[Day term],
FILTER (
ALL ( 'Date' ),
WEEKDAY ( 'Date'[Date], 2 ) < 6
&& 'Date'[Date] > 'Table'[Order date]
),
'Date'[Date], ASC
),
'Date'[Date]
)
Best Regards
2 REPLIES 2

Anonymous
Not applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023
11:51 PM

Hi @Anonymous ,
You can create a calculated column as below to get it assume that you have one date table in your model:
Due Date =
MAXX (
TOPN (
'Table'[Day term],
FILTER (
ALL ( 'Date' ),
WEEKDAY ( 'Date'[Date], 2 ) < 6
&& 'Date'[Date] > 'Table'[Order date]
),
'Date'[Date], ASC
),
'Date'[Date]
)
Best Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023
04:13 PM

Does your data model include a calendar table with a column identifying work days, weekends and holidays?
What granularity do you need? Whole days, hours, something else?

Helpful resources
Announcements
Power BI Monthly Update - July 2025
Check out the July 2025 Power BI update to learn about new features.

Recommendations
Subject | Author | Posted | |
---|---|---|---|
01-08-2025 07:23 AM | |||
09-19-2023 11:03 AM | |||
09-01-2022 10:28 AM | |||
12-02-2024 05:28 PM | |||
04-15-2025 04:21 AM |
Featured Topics
Top Solution Authors (Last Month)
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
26 |
Top Kudoed Authors (Last Month)
User | Count |
---|---|
96 | |
84 | |
43 | |
40 | |
35 |