Re: How to get the number onto text label.
@Krazyesko
No variables needed - it would be completely redundant.
First, let's fix your Text property. It should be :
Text(Round((CountRows(Filter(Gallery4.AllItems; Title6.Text="Office_1"; Subtitle4.Text=Text(Today()) )) /33) * 100; 3) & "%"
The Self.Text refers to the Text property of the control you are on (the label in this case). It will be whatever the Text is in your label. It is not relevant what the formula is on the Text property that builds the text...it is just the resultant text.
Value turns that Text into a Number.
NOW...I cannot see your pictures well enough to know if you have 12.121% or 12,121% OR, in other words, what is your locale? Seeing now the semicolons in the formula you have, I can tell that you are not using US based locale.
So, if that is the case, then the comma in the text is going to cause a problem and we have to then tell the Value property what locale you are in. Based on some of the text in your images, I am assuming French.
So...change your formula to this:
If(Value(Self.Text, "fr-FR") <=.3, White, Red)
This will tell the Value function what locale format to use in converting.
EDIT: Sorry, formula should be this: If(Value(Self.Text; "fr-FR") <=.3; White; Red) forgot to change commas to semicolons for you.