Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Percentage value correction

Hi All,

we  have some percentage value basis on single direct column on the card visualization which we need to modify with only two digits percentage  and I have adjusted /reduced percentage digit also in power bi desktop.

 

example: we have  value like this -144424% and we need to modify it to 14 % .  Kindly help how to display two value digit percentage on the card visualization   .

c8916239_0-1649831964557.png

 

 

 

 

Thanks,

Raghu

10 REPLIES 10
v-chenwuz-msft
Community Support
Community Support

Hi @Anonymous ,

 

You want always display the first and second number of this vaule?

 

Maybe you can try this:

var _len = len(SUM(final[region_involvement_score]))

return

SUM(final[region_involvement_score])/POWER(10,_len)

 

Best Regards

Community Support Team _ chenwu zhu

 

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

Anonymous
Not applicable

Hi Chenwu,

i have tried but still no luck. i want to show pecentage on single  column using card visuvalization .

PFbelow  screenshot.

c8916239_0-1650345412337.png

 

 

 

 

Thanks,

Raghu

 

Hi @Anonymous ,

 

Use FORMAT( [values], "00%" )

Or modify the result as the screenshot.

vchenwuzmsft_0-1650348888851.png

 

Best Regards

Community Support Team _ chenwu zhu

 

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

Anonymous
Not applicable

HI Chenwuz,

 

i am new to power bi . can you please provide screenshot for to get two numbers percentage?

i have tried below changes  still not getting 

c8916239_0-1650349874553.png

i need to show like this

c8916239_1-1650349988694.png

 

 

Thanks,

Raghu

Hi @Anonymous ,

 

I put my pbix file in the end you can refer.

 

Best Regards

Community Support Team _ chenwu zhu

 

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

Anonymous
Not applicable

Thanks for sharing PBIX file. here i need to display percntage value based on sigle column i dont have any other columns which shared above post.

Kinldy help..

 

Thanks,

Raghu

 

Anonymous
Not applicable

Hi Amit, i have donr like this -

SUM(final[region_involvement_score])/100 still getting same value .
 
 
Thanks,
Raghu
Anonymous
Not applicable

Still getting same value . could you please send formula ?

amitchandak
Super User
Super User

@Anonymous , I think first divide the actual value by 100 and then mark it as a percent column.

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Anonymous
Not applicable

Hi Amit, i have done like this -

SUM(final[region_involvement_score])/100 still getting same value .

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.