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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
shantanu97
Helper I
Helper I

Change one column to another

I am new to Pwer BI. I have one column called quarter where I need transformed like this

 

Quarter New Column

01           Q1

02            Q2

03            Q3

04           Q4

 

Any help, how to do that?

 

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

@shantanu97 

New Column = "Q" & VALUE([Quarter])

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

2 REPLIES 2
Tahreem24
Super User
Super User

If you don't want zero so first get rid of this zero then concatenate it column value.

Column=

        Var QUAR= Mid(Table[Quarter], 2,3)

        RETURN "Q"& QUAR

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
az38
Community Champion
Community Champion

@shantanu97 

New Column = "Q" & VALUE([Quarter])

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.