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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
hans3400
Helper I
Helper I

Top N when year changes

Hi

I have a bar chart that shows how many invoices is being created on a monthly basis. I have a data set that goes back to Jan 2022. 

 

I only want to show the last 5 months in the report and so far it has worked fine. I have added the number for Jan 2023 and now the bar chart adds Jan 2022 and Jan 2023 together which is not what I want. I want it to show Sep, Oct, Nov, Dec and Jan which is the last 5 months. How can I do that?

 

Bar chart is set up this way: 
X-axis is month (value of date column is written like this: 2022 01, 2022 02, 2022 03 etc.)

Y-axis is number of invoices

 

Filter on date (month): Top N: Top 5 by value Latest Month.

 

I hope someone can help. 

 

Cheers

2 REPLIES 2
Padycosmos
Solution Sage
Solution Sage

Thank u for taking the time to help me! 🙂 

I have watched the video but it involves a lot of different slicers which is not something I want. I'm new ti PBI, so maybe I'm missing the hint in the video. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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