Hi @Nurry90,
@Greg has put together a great article with pretty much all you need to know in regard to this topic, it also covers calculating totals - you can find that here.
. If you need further assistance please provide a sample PBIX