Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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?
Solved! Go to Solution.
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
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
You can create a new column and insert the dax as follows:
Status_Column= LEFT(table[columnname],LEN(table[columnname])-2)
Regards,
Rajendra
Proud to be a Super User! | |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |