Forum Discussion

Mohamed-Sayed's avatar
Mohamed-Sayed
Frequent Visitor
2 years ago
Solved

How to change specific text values in some rows

Dears,  Thanks to support me to solve below inquiry, - Column A > country name [Egypt, US, etc...] - Column B > category [Result, Defect qty, Sales qty] I need to change "Result" in column B by a...
  • PijushRoy's avatar
    2 years ago

    Mohamed-Sayed 

    Can you please share your expected result in Excel screenshot


  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Mohamed-Sayed ,

    To change the "Result" values in Column B by appending the country name from Column A without altering other values in Column B, you can use Power BI's Power Query Editor to transform your data with a custom column. 

    = if [Column B] = "Result" then [Column A] & " " & [Column B] else [Column B]

    How to Get Your Question Answered Quickly 

     

    If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

     

    Best Regards
    Community Support Team _ Rongtie

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.