cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

If formula

Hello all,

 

I'm looking to write a formula that will give me the current week we are in and have the start of the week be Monday. For example, 5/18/2020, 5/25/2020, 6/1/2020.

 

So the formula would go If(table [column1])=Condition, Current Monday of the week, table [column1])

 

Any help would be awesome!

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: If formula

@kfitz20 

if you need exactly current week Monday try

If(
table[column1])=Condition, 
TODAY() – WEEKDAY(TODAY(),2) + 1, 
table[column1]
)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

5 REPLIES 5
Highlighted
Super User II
Super User II

Re: If formula

Hi @kfitz20 

try

If(table [column1])=Condition, 
Table[Date] – WEEKDAY(Table[Date],2) + 1, 
table [column1])

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Highlighted
Super User III
Super User III

Re: If formula

Hi @kfitz20 

If you have dates in a column, Table1[Date], you can have the Monday of that week in another column with:

Monday Col = Table1[Date] - (WEEKDAY(Table1[Date],2) - 1)

Please mark the question solved when done and consider giving kudos if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

 

Highlighted
Helper I
Helper I

Re: If formula

What if I don't have a dates in another column?

Highlighted
Super User II
Super User II

Re: If formula

@kfitz20 

if you need exactly current week Monday try

If(
table[column1])=Condition, 
TODAY() – WEEKDAY(TODAY(),2) + 1, 
table[column1]
)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

Highlighted
Super User III
Super User III

Re: If formula

@kfitz20 

If you are looking for the Monday of the current week just use TODAY()

TODAY() - (WEEKDAY(TODAY() ,2) - 1)

 

Please mark the question solved when done and consider giving kudos if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

 

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors