Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
powerBI_User123
New Member

Show whole year while slicing on one month - DAX

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!

 

 

2 REPLIES 2
marcoperson_250
Regular Visitor

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.

lbendlin
Super User
Super User

you would create a measure that calculates the value accordingly (for example via REMOVEFILTERS(month)

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.