I want to have all the value of id but when I am using it, it gives the sum of ids
You’re getting the sum of ids because it is the measure and while using the measure, the default nature is, it will be aggregated on a higher-level. The default aggregation is the sum and if you need anything else, you can change it.
Now if you don’t want summation of ids to be shown, then simply convert that to attribute and your problem will be solved.