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! Get ahead of the game and start preparing now! Learn more
Hello,
I am trying to get whole year for a diagram when using the filter "month year".
For example when using the filter 202201 I want the whole 2022 to result in values for my diagram. How can I do that?
I have one date table "Calendar" and I have one Sale table "DimSale".
Greatful for all help!
Sales_WholeYear =
VAR SelectedYear =
SELECTEDVALUE( Calendar[Year] )
RETURN
CALCULATE(
SUM(DimSale[Amount]), -- Replace with your measure
Calendar[Year] = SelectedYear
)
Thanks✨🌹
kudo ✨
Hello there,
If you are using a monthly year filler, ensure your calendar table has a combination of the month and year. Power BI creates the relation between the calendar table and sale table data, and then you can use the month-year filter on your diagram.
I hope this is helpfulfor you.
you would create a measure that calculates the value accordingly (for example via REMOVEFILTERS(month)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!