% Progress Dots

PHOTO EMBED

Sat Jul 09 2022 14:41:46 GMT+0000 (Coordinated Universal Time)

Saved by @mikecardona #javascript

IF(
    {Dot Goal},
    REPT(
        ' ',
        3-LEN(
            INT(
                (IF(
                    Current<={Dot Goal},
                    Current,
                    {Dot Goal}
                    )/{Dot Goal})*100
                )&''
            )
        )&
        INT(
           (IF(
                Current<={Dot Goal},
                Current,
                {Dot Goal}
                )/{Dot Goal})*100
            )&
        '% '&
        REPT(
            '🔴',
            INT(
                (IF(
                    Current<={Dot Goal},
                    Current,
                    {Dot Goal}
                    )/{Dot Goal})*10
                )
            )&
            IF(
                ROUND(
                    MOD(
                        (IF(
                            Current<={Dot Goal},
                            Current,
                            {Dot Goal}
                            )/{Dot Goal})*10,
                        1
                        ),  
                    0
                    )=1,
                '❗️'
                )
				)
content_copyCOPY

Create a Field called: % Progress Dots