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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Needle
Regular Visitor

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
Needle
Regular Visitor

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
Needle
Regular Visitor

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 @Needle ,

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors