The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Dear community,
I created a table:
I changed the data type: Decimal Number
I changed the format: Percentage
I created a slicer which allows a manual user input.
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
Solved! Go to Solution.
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.
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.
@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
User | Count |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
33 | |
13 | |
12 | |
9 | |
7 |