Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi,
I have a 5 year monthly data but I want to get a yearly total(BusinesYear) given two column filters(DIVISION_NM and SERIES_NM)
So I have a measure:
Solved! Go to Solution.
@Anonymous,
Modify your measure like below then it will work:
TOTAL SALES =
CALCULATE (
SUM ( Query1[Sales by Selling days1] ),
ALLEXCEPT (
Query1,
Query1[BusinesYear],
Query1[DIVISION_NM],
Query1[SERIES_NM]
)
)
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous,
Modify your measure like below then it will work:
TOTAL SALES =
CALCULATE (
SUM ( Query1[Sales by Selling days1] ),
ALLEXCEPT (
Query1,
Query1[BusinesYear],
Query1[DIVISION_NM],
Query1[SERIES_NM]
)
)
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Correct, FILTER takes 2 arguments, the table and the filter. In your case, just ditch the FILTER statement, the 2nd parameter to a CALCULATE is a filter clause.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 50 | |
| 41 | |
| 32 | |
| 26 | |
| 24 |
| User | Count |
|---|---|
| 131 | |
| 125 | |
| 59 | |
| 45 | |
| 43 |