Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
Solved! Go to Solution.
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]
Hey @Gopiraju404 ,
next to using Power Query you can also use Dynamic formatting if you create a measure: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-dynamic-format-strings
Hopefully, this adds some new ideas.
Regards,
Tom
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
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
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
Hey @Gopiraju404 ,
next to using Power Query you can also use Dynamic formatting if you create a measure: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-dynamic-format-strings
Hopefully, this adds some new ideas.
Regards,
Tom
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]
User | Count |
---|---|
63 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |