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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
luna_
Frequent Visitor

How to add "Q" before the Quarter of a year?

I would like to get the quarter of a year out of a date column and add a "Q" in front of it.
I manage to do the first bit by using the following: Number.RoundUp(Date.Month([#"Arrival Date"])/3,0)).
I know it works because I get the correct results:

luna__0-1676984759207.png

But when I add the letter Q it causes errors:

luna__1-1676984770133.png

 

1 ACCEPTED SOLUTION
serpiva64
Solution Sage
Solution Sage

Hi,

You have to use Text.From

try

"Q"&Text.From(Number.RoundUp(Date.Month([Column1])/3,0))

serpiva64_0-1676986424978.png

If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!

View solution in original post

1 REPLY 1
serpiva64
Solution Sage
Solution Sage

Hi,

You have to use Text.From

try

"Q"&Text.From(Number.RoundUp(Date.Month([Column1])/3,0))

serpiva64_0-1676986424978.png

If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.