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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors