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
manishbeniwal
Frequent Visitor

Column Chart based on Month filter

Hi Team,
I want the chart should show me the columns based on selected Monthly (Filter). If I select "Jan", Chart should show only Jan data and If I select "Mar" then Chart should show the columns for Jan, Feb & Mar (means Jan to Mar) in the same column chart. Please suggest. Regards Manish

 

Chart1.JPG

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

You may refer to my solution here - Flex a Pivot Table to show data for x months ended a certain user defined month.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

You may refer to my solution here - Flex a Pivot Table to show data for x months ended a certain user defined month.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
sokg
Solution Supplier
Solution Supplier

Hi @manishbeniwal 

 

You have to create a new measure

 

NewMeasure =
Var LastVisDate = max(Calendar[Date])

RETURN

Calculate(
                [YourOriginalMeasure],

                Calendar[Date]>= LastVisDate 

)

 

Hopefully this is what you are looking for!

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.