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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.