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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Shifty1993
Regular Visitor

User Input in slicer should be 40 instead of 0.04 (in Percentage)

Dear community,

 

I created a table:

IN_rate = GENERATESERIES(0, 0.5, 0.001)

 

I changed the data type: Decimal Number

I changed the format: Percentage

 

I created a slicer which allows a manual user input.

Shifty1993_0-1662456657617.png

 

The problem is that the user has to type in 0.40 to get his 40 %.

I want him to type in 40 to get his 40 %.

 

Somehow I am not able to fix this problem.

 

Thank you for help in advance.


Best regards,

Phil

1 ACCEPTED SOLUTION
Shifty1993
Regular Visitor

This is not what i actually meant. But i could solve it.

 

I changed to modell view and changed the value to whole number.

 

Then I could switch the format to custom.

 

Afterwards switch the value to decimal number. (where you cannot find the format "custom").

 

In the custom settings put a string " %".

 

Now the user input should be for 40  => 40 %.


Afterwards create a measure which takes the value in the input and divide it with 100.

 

Result: User types in 40 and receives in his view 40 %, but the system receives 0.4 for further calcs.

 

Topic solved.

View solution in original post

2 REPLIES 2
Shifty1993
Regular Visitor

This is not what i actually meant. But i could solve it.

 

I changed to modell view and changed the value to whole number.

 

Then I could switch the format to custom.

 

Afterwards switch the value to decimal number. (where you cannot find the format "custom").

 

In the custom settings put a string " %".

 

Now the user input should be for 40  => 40 %.


Afterwards create a measure which takes the value in the input and divide it with 100.

 

Result: User types in 40 and receives in his view 40 %, but the system receives 0.4 for further calcs.

 

Topic solved.

amitchandak
Super User
Super User

@Shifty1993 , As this a % column (based on what I got)  it will show .4 as 40% but have value .4

 

So can multiply the measure by 100

 

selectvalues(IN_rate[value]) *100

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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