Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
10 years ago
Solved

Triming unwanted data and create another field

Hi,   I am new to the forum and started working on Power BI tool, I have excel data set and have 20 fields. I want to create another field by removing some of unwanted data.   Field Name: QtrYr ...
  • Anonymous's avatar
    Anonymous
    10 years ago

    Hi Anonymous,

     

       if you only want to cut the "Q...-" text in your column. You can:

     

    1) go into the query editor

    2) click on "Split column" -> "by delimiter"

    3) "select or enter delimiter" -->   "--custom--"   -->  -

    4) "Split"  -->  "at the right-most delimiter"

    5) ok

     

    And this is the result:

     

     Let me know if it works.

     

    #I'M Not An Expert#

  • Anonymous's avatar
    Anonymous
    10 years ago

    Do all the steps above, but first duplicate the column. Then split the duplicated column as suggested and leave the original alone and you'll have both.