Hi @Sussan ,
It might help if you shared your Slider Default: property lookup formula, and perhaps an idea of what the SharePoint list you're fetching it from looks like?
Otherwise if you like we can start a little slower and work towards it - just to make sure there's nothing wrong with the logic.
Add another text input to your page and rename it to "totalAmountInput". Set the Default: value to 100 for now.
If your original text input hasn't got a nice name, call it "portionAmountInput" - if it's already got a nice name, just replace portionAmountInput in my examples with its name.
Set your Slider Default: property to;
(Value(portionAmountInput.Text) / Value(totalAmountInput.Text)) * 100
Now, fiddle with the portionAmountInput and change the values anywhere from 0-100. Does the slider behave as you want it to?
If so, then change the totalAmountInput to something like 5000. Fiddle with the portionAmountInput value and again check if the slider works the way you want it to (2500 should place the slider in the middle at 50% when the totalAmountInput is 5000).
If this is all working, then essentially all you need to do is replace the Value(totalAmountInput.Text) portion of the example with the lookup that fetches the total amount from somewhere.
To check that this LookUp() formula is working as expected, you can add a label to your screen, then set its Text: property to your lookup function and the label should show you the total number you're looking for. If not, then either the data isn't there or the LookUp() isn't looking in the right place for it.
The LookUp() formula should look something like this;
LookUp(source, condition, fieldToReturn)
If it's a text column, then might need to wrap it in a Value() function similar to what I did above with the text inputs. If it's a number column, you won't have to.
Let me know how it goes
RT