Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a table of store details (which I had to pivot and stack all into rows vs. columns) for other purposes. However, now I'd like to just convert some of values to show as %. Is there a way to create a new column but say column XYZ and column ABC - show as %, all others show as text. See below ones in yellow I need as %.
Solved! Go to Solution.
output : column Custom
try this :
if [Column3] = "pct" then Text.Combine({"%" ,Text.From(Decimal.From([Column2]))},"") else [Column2]
first you convert it into decimal, then you add the % to it.
NB :
you need to specify which rows are pct and need to be converted ( check column3 )
If my answer helped sort things out for you, feel free to give it a thumbs up and mark it as the solution! It makes a difference and might help someone else too. Thanks for spreading the good vibes! 👍🤠
output : column Custom
try this :
if [Column3] = "pct" then Text.Combine({"%" ,Text.From(Decimal.From([Column2]))},"") else [Column2]
first you convert it into decimal, then you add the % to it.
NB :
you need to specify which rows are pct and need to be converted ( check column3 )
If my answer helped sort things out for you, feel free to give it a thumbs up and mark it as the solution! It makes a difference and might help someone else too. Thanks for spreading the good vibes! 👍🤠
User | Count |
---|---|
123 | |
77 | |
62 | |
50 | |
49 |
User | Count |
---|---|
175 | |
125 | |
60 | |
60 | |
58 |