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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Filter from specific month

I have a month filter. When a month is selected, I want data only from April to that selected month to be displayed.

E.g. If May is selected, only data from April to May is selected. If March is selected, data for the whole year is displayed.

 

How do I go about doing this? 

 

2 REPLIES 2
parry2k
Super User
Super User

@Anonymous what is the logic to data be display from April to March when March is selected? How it is whole year? Is this fiscal year?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Yes that is right Fiscal year. April is the first month of the fiscal year.

 

My apologies, I should have been more specific. 

 

So I have a bar chart with two filters - Year and Month.  Let's say I select Year 2018.

If I select April, only April 2018 should be displayed.

If I select August, only April - August 2018 should be displayed.

If I select March, only April 2017 - March 2018 should be displayed.

 

Note that I do have Fiscal year, fiscal month,  calendar year and calendar month as columns in my table.

So for fiscal month, April maps to 1, May to 2 etc.

For calendar month, April maps to 4, May to 5 etc.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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