Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
19 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
25 | |
10 | |
10 | |
9 | |
6 |