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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Paulyeo11
Impactful Individual
Impactful Individual

How to get Q1-2020 ?

Hi All

Can some one share with me Quarter field expression ? i need to get Q1-20 , Q2-20 

Paulyeo11_0-1602118834550.png

 

Paul

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Paulyeo11 , You can try like

 

New column = "Q" & Format([date],"Q-YY")

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Paulyeo11 , You can try like

 

New column = "Q" & Format([date],"Q-YY")

mahoneypat
Employee
Employee

You can use this expression to add a Quarter column to your Date table.

 

Quarter = Format('Date'[Date], "\QQ-YY")
 
Regards,
Pat
 




Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.