Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Conditional column to create new date column

Hi Community..!!

I want to create conditonal column as shown in the below pic but it should be in date format.

I have t2 month column , i need to create t1 month column as shown in the below pic.

PatilPrasad027_0-1718262996109.png

Could anyone please help me out to reach the solution.

Thanks in advance..!!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi Community..!!

I got the output by myself,

Here is the solution.

Previous Qtr = FORMAT(ENDOFQUARTER(PREVIOUSQUARTER(Result_tp1[MONTH-1])),"mmm yy")
PatilPrasad027_0-1718275159002.png

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi Community..!!

I got the output by myself,

Here is the solution.

Previous Qtr = FORMAT(ENDOFQUARTER(PREVIOUSQUARTER(Result_tp1[MONTH-1])),"mmm yy")
PatilPrasad027_0-1718275159002.png

 

qqqqqwwwweeerrr
Super User
Super User

Hi @Anonymous 

 

You can do this by creating column using this measure: 

previousdate = PREVIOUSMONTH(financials[Date])
qqqqqwwwweeerrr_0-1718273903846.png

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Check for more intersing solution here: www.youtube.com/@Howtosolveprobem

Regards

Anonymous
Not applicable

Hi @qqqqqwwwweeerrr 
It will give previous month , mine requirement is different.

Hi @Anonymous 

 

My bad misunderstood the question. But can you please define the logic on what bases month should be tagged to some other month.

 

Regards

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors