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
Anonymous
Not applicable

Paste Special option in power bi

Hi Team,

 

I have two columns

 

Amount              Status

128.6 CR           if(right([Amount],2)="CR","Credit Received","Others"))

 

Now i want to remove CR from Amount Column

what is the best way ?

or is there a paste special option in power bi so that i can perform in Status columns so that the result remains and formula goes off?

1 ACCEPTED SOLUTION
tarunsingla
Solution Sage
Solution Sage

Assuming you have an amount column with data that is in text format, you can use the split function in Power BI to split the amount into two different columns, one for the numeric value and another for the 2 letter code. You can then use the 2 letter code column to add another conditional column for computing the status.

Check this out:

https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-july-2019-feature-summary/#splitColumn

 

View solution in original post

2 REPLIES 2
tarunsingla
Solution Sage
Solution Sage

Assuming you have an amount column with data that is in text format, you can use the split function in Power BI to split the amount into two different columns, one for the numeric value and another for the 2 letter code. You can then use the 2 letter code column to add another conditional column for computing the status.

Check this out:

https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-july-2019-feature-summary/#splitColumn

 

rajendraongole1
Post Prodigy
Post Prodigy

You can create a new column and insert the dax as follows:

 

Status_Column= LEFT(table[columnname],LEN(table[columnname])-2)

 

Regards,

Rajendra

 

 

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.