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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.