I want to show table number starting from 1 to so on seprately on each chapter. I am trying to use setcounter, but its not giving the desired results.
\documentclass[english]{book}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{array}
\usepackage{enumitem}
\makeatletter
\providecommand{\tabularnewline}{\\}
\makeatother
\usepackage{babel}
\begin{document}
\setcounter{table}{4}
\chapter{One}
\begin{table}[htbp]
\centering
\caption{I want to give number Table-1}
\begin{tabular}{l>{\raggedleft}p{50pt}r}
\hline
\textbf{Province} & \textbf{Import }\textbf{\scriptsize{}('000' USD)} &
\textbf{Percent}\tabularnewline
\hline
Punjab & 393.8 & 21.35\tabularnewline
Sindh & 521.4 & 72.53\tabularnewline
\hline
\textbf{Grand Total} & \textbf{ 321.2 } & \textbf{ 100.00 }\tabularnewline
\hline
\end{tabular}
\end{table}
\begin{table}[htbp]
\centering
\caption{I want to give number Table-2}
\begin{tabular}{l>{\raggedleft}p{50pt}r}
\hline
\textbf{Province} & \textbf{Import }\textbf{\scriptsize{}('000' USD)} &
\textbf{Percent}\tabularnewline
\hline
Punjab & 393.8 & 21.35\tabularnewline
Sindh & 521.4 & 72.53\tabularnewline
\hline
\textbf{Grand Total} & \textbf{ 321.2 } & \textbf{ 100.00 }\tabularnewline
\hline
\end{tabular}
\end{table}
\chapter{Two}
\begin{table}[htbp]
\centering
\caption{I want to give number Table-1}
\begin{tabular}{l>{\raggedleft}p{50pt}r}
\hline
\textbf{Province} & \textbf{Import }\textbf{\scriptsize{}('000' USD)} &
\textbf{Percent}\tabularnewline
\hline
Azad Jammu \& Kashmir & 2.1 & 0.03\tabularnewline
Balochistan & 1.6 & 0.08\tabularnewline
EPZ & 9.7 & 0.41\tabularnewline
\hline
\textbf{Grand Total} & \textbf{ 321.2 } & \textbf{ 100.00 }\tabularnewline
\hline
\end{tabular}
\end{table}
\end{document}
