Forum Discussion

Gopiraju404's avatar
Gopiraju404
Frequent Visitor
1 year ago
Solved

Text should be text and numeric values ​​should be converted to percentage

Hi everyone,

One Column (Data type text) contains text and numeric values.

Text should be text and numeric values ​​should be converted to percentage  in Power BI.

how i will get this.

 

This sample data.

 

Thanks and regards

Gopi

 

5 Replies

  • Hi Gopiraju404 please check this custom column

     

    =if Value.Is(Value.FromText([Q1]), type number)
    then Text.From(Number.Round(Value.FromText([Q1]) * 100, 2)) & "%"
    else [Q1]

  • v-sdhruv's avatar
    v-sdhruv
    Icon for Community Support rankCommunity Support

    Hi Gopiraju404 ,
    Just wanted to check if you had the opportunity to review the suggestions provided?
    If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
    Thank You

  • v-sdhruv's avatar
    v-sdhruv
    Icon for Community Support rankCommunity Support

    Hi @Gopiraju404 ,
    Just wanted to check if you had the opportunity to review the suggestions provided?
    If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
    Thank You

  • v-sdhruv's avatar
    v-sdhruv
    Icon for Community Support rankCommunity Support

    Hi @Gopiraju404 ,
    Just wanted to check if you had the opportunity to review the suggestions provided?
    If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
    Thank You