Hi friend of the microsoft community
quick question - i want to reduce the number after the virgule.
CountRows(Filter(Gallery4.AllItems;Title6.Text="MTL Building A";Subtitle4.Text=Text(Today())))/95*100&Text("%")
see picture there like 10 number after comma.
thanks
Solved! Go to Solution.
You can use either Round, RoundDown, or RoundUp function as per your requirements.
For Example:
Round(CountRows(Filter(Gallery4.AllItems; Title6.Text = "MTL Building A"; Subtitle4.Text = Text(Today()))) / 95 * 100; 3) & Text("%")
This will round the number to show 3 digits to the right of the decimal point.
Microsoft documentation: Round, RoundDown, and RoundUp functions in Power Apps
Please click Accept as solution if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it 👍
Hi @Krazyesko
You would wrap
Round(CountRows(
Filter(
Gallery4.AllItems;Title6.Text="MTL Building A"; Subtitle4.Text = Text(
Today()
)
)
)/95*100, 2
) & Text("%")
The Round, RoundDown, and RoundUp functions round a number to the specified number of decimal places:
Round( Number, DecimalPlaces )
RoundDown( Number, DecimalPlaces )
RoundUp( Number, DecimalPlaces )
You can use either Round, RoundDown, or RoundUp function as per your requirements.
For Example:
Round(CountRows(Filter(Gallery4.AllItems; Title6.Text = "MTL Building A"; Subtitle4.Text = Text(Today()))) / 95 * 100; 3) & Text("%")
This will round the number to show 3 digits to the right of the decimal point.
Microsoft documentation: Round, RoundDown, and RoundUp functions in Power Apps
Please click Accept as solution if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it 👍
User | Count |
---|---|
163 | |
86 | |
71 | |
64 | |
62 |
User | Count |
---|---|
210 | |
149 | |
97 | |
84 | |
66 |