This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I have a table with date and sales but when I applied summation to get daily sum it gives wrong results. I used:
Daily Sales = SUM(sales[Sales])
My original table (sales):
After using the formula, I get summation as below (which is wrong):
Please help!
Solved! Go to Solution.
Hi @Anonymous ,
You could create a measure like below.
measure = calculate(sum(sales[sales]),filter(allselected('sales'),'sales'[date]=selectedvalue('date'[date])))
Best Regards,
Jay
Hi @Anonymous ,
You could create a measure like below.
measure = calculate(sum(sales[sales]),filter(allselected('sales'),'sales'[date]=selectedvalue('date'[date])))
Best Regards,
Jay
Can you provide sample data?
Proud to be a Super User!
Paul on Linkedin.
I am not sure how but, re-doing the model gave the correct solution. Thanks all
Hi @Anonymous ,
Are you using date and sales from same table or different?
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
HI! From different tables. Date from calander table and sales from sales table. I joined them based on the date.
I summarized using 'sum' in the table view insdead of calculated measure, and still getting the same results, which is wrong. Thanks!
Are both the date fields in the Calendar table and sales table set to type date (not date/time)?
Is the relationship between the Calendar table and the sales table set to single direction and One-To-Many?
Proud to be a Super User!
Paul on Linkedin.
Yes and yes. Still wrong results. Thanks!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 23 | |
| 22 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 61 | |
| 35 | |
| 28 | |
| 22 | |
| 21 |