If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.
I have a straight table named as "Sales" in a front end. I have to count the number of records in that straight table in the KPI. Is there any function available for it.
Do you have a key field for your Sales table?
A key field should be unique for each record. Counting that field will give you the num of records.