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
Anonymous
Not applicable

when i select a month or two in slicer it should show previous 2 months based on my selection.

Hi All,

         Currently we have a metric called "PM" which is "Prior Month".  When a user selects 2 months, PM reflects the first month and the month before.  For example, selecting March + April, will cause PM on the metric card to reflect data for February + March. But i need January + February. Same when i select 3 months it should show previous 3 months dats.

1.png

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

Do you mean if you select

 

1. Mar, then return Feb ?

2. Mar + Apr, then return Jan + Feb ?

3. Mar + Apr+ May, then return Last Dec + Jan + Feb ?

 

Please kindly share your dummy pbix or simple worksheet that would be easier for us to provide the valuable advice.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
amitchandak
Super User
Super User

Are these months are continuous, or they can be discrete too?

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.