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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

MariaDB Error while trying to add a "Q" to quarter column

Hello everybody!
I am having some slight problems while creating my report.

I get my data from a mariadb database and for some reason I can't add a "Q" infront of my quarter column values. This is my column right now:
1.PNG


This is how I want it to look:
1.PNG


Everytime I try to change it to this I get this error:
1.PNG


I have also tried chaning the datatype to text but then I get this error:
1.PNG
Does anybody know how to fix this?

If you need more information let me know.

Thank you in advance!
Regards,
David

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Okay so really the only way I was able to fix it was to create a new column in the database itself. In this column I formated my data according to my needs and then imported it. I am not saying that there aren't other solutions but this is definetly the most hassle free solution for anybody who is also struggling with a problem similar to mine.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Okay so really the only way I was able to fix it was to create a new column in the database itself. In this column I formated my data according to my needs and then imported it. I am not saying that there aren't other solutions but this is definetly the most hassle free solution for anybody who is also struggling with a problem similar to mine.

Anonymous
Not applicable

Hi @Anonymous ,

Please try the following methods and check if they can solve your problem:

1.Try to Open the Power Query Editor, add a custom column.

vjiewumsft_0-1710900581578.png

2.Enter the following formula.

= "Q" & Text.From(Date.QuarterOfYear([Date]))

vjiewumsft_1-1710900618023.png

3.The result is shown below.

vjiewumsft_2-1710900644615.png

4.Choose Close and apply.

vjiewumsft_3-1710900651254.png

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors