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
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
Super User
Super User

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

 

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

 

Regards,

Rajendra

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.