Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi all. Wish you a good day!
I would like to add a column to calculate the total of actual sales in my Target table. (by month & year as the Target table)
Current formula I am using as below:
Appreciates lot for your help!
Hi @ommfin123
Please try
Actual Sales =
CALCULATE (
SUM ( 'Sales Report'[Total] ),
FILTER (
ALL ( 'Sales Report' ),
'Sales Report'[Estimated Delivery Date] = RELATED ( 'SalesPlanning'[DATES] )
)
)
Dear @tamerj1 . Thank you for your help!
The formula is with no error but the results comes out were the total sales amount of the whole table.
I would like it to filter according to the SalesPlanning's monthyear date, may I know how should I do?
Thank you so much.
Please try
Actual Sales =
CALCULATE (
SUM ( 'Sales Report'[Total] ),
FILTER (
CALCULATETABLE ( 'Sales Report', ALL ( 'Sales Report' ) ),
'Sales Report'[Estimated Delivery Date] = RELATED ( 'SalesPlanning'[DATES] )
)
)
Or maybe is my tables' relationship linked wrongly?
I'm not sure too.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
20 | |
14 | |
10 | |
9 | |
6 |