Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I have this problem, that whenever I try to calculate sales, it doesn't show the correct total sales.
Below is what the expected result should have been like:
under names I have these items:
name = haircare and perfumes
order_id = 2005114916 and 2005114915
product_id = 76039, 87848 etc.
Can anyone help?
Solved! Go to Solution.
Hi @Jonas_Holm ,
You could first create a measure like
Measure = IF(ISINSCOPE('Table'[product_id]),SUM('Table'[base_price_ex_tax])*[Qty Measure])
Then create another measure to sum up.
Sales = SUMX('Table',[Measure])
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Jonas_Holm ,
You could first create a measure like
Measure = IF(ISINSCOPE('Table'[product_id]),SUM('Table'[base_price_ex_tax])*[Qty Measure])
Then create another measure to sum up.
Sales = SUMX('Table',[Measure])
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.