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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
HarrisonBi
Frequent Visitor

How many decimal places can I use in a what-if parameter?

Hi all,

 

I am trying to create a paramter to hold a currency exchange rate. I need this value to be shown and editable in 4 decimal places.

I am using this formula = GENERATESERIES(0, 1, 0.000001and have stored my value as data type decimal number and format currency with 6 decimal places. However if I try enter 0.0004 the value automatically changes to 0.  Also the information icon pops up on the slicer with the message 'Showing representative sample'.

 

How can I acheieve this as I need at least 4 decimal places for accuracy.

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @HarrisonBi ,

 

You need to change the type from whole number to decimal number and then adjust its digits. The reference is as follows.

vhenrykmstf_0-1655458697826.png

For more details, you can refer to below document:

Use what-if parameters to visualize variables - Power BI | Microsoft Docs


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

Hi Henry,

 

This doesn't resolve the issue I am facing. It doesn't allow me to enter values, I need up to 6 decimal places of accuracy.  See attached images.

HarrisonBi_1-1655711334909.png

 

HarrisonBi_0-1655711299407.png

 

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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