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

Selected value in graph

Hi all,

 

there is a way to show in graph only up to selected month value?

 

For example, rather than show all month when i select March,

all month.PNG

I want to show up to march, like this:

 

up to march.PNG

 

My slice has unique selection value. I know that i can change to visual between, but i was wondering if i can see like this,

 

Thanks and sorry for my english.

1 ACCEPTED SOLUTION

HI @iurilino,

You can add a calculated column to extract correspond month number from these text value, then you can use it on slicer with 'before' mode(less than or equal to) to filter records:

MonthNum =
MONTH ( DATEVALUE ( [MONTH] & "/1" ) )

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

Yes, It depends on the formula and relation.

You can also try relative date slicer

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range

I forgot to mention, my  month is not date format, so i cant use relative on slice

 

Is like this:

MONTH.PNG

HI @iurilino,

You can add a calculated column to extract correspond month number from these text value, then you can use it on slicer with 'before' mode(less than or equal to) to filter records:

MonthNum =
MONTH ( DATEVALUE ( [MONTH] & "/1" ) )

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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.