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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
thliberato
Helper I
Helper I

Date Filter

I need help.

I have a bar chart (measure x date (month / year) and I have a date filter to choose only one month. (Eg, I choose January / 2017)

My chart should only show me Measure x Date (until date chosen in the filter). Measurement values for February and March 2017 should be excluded from viewing.

 

My model has a fact and a time dimension bound by dd /mm/yyyy

 

I can share my desktop if anyone offers help on skype. You can add me.

my skype is thliberato

 

Thanks

6 REPLIES 6
Eric_Zhang
Microsoft Employee
Microsoft Employee

@thliberato

If I understand correctly, I think you can create a calculated column in the time dimension table and use the column in a slicer.

 

YYYYMM = FORMAT('time dimension'[DATE],"MMM-YYYY")

Good afternoon.

 

Look at the example below.

I would like to select a specific month in the filter and both charts display the history until the selected month.

 

For exemplo, I select 10-October. 11 and 12 Should disappear from the graph.

 

 

teste.JPG

Is the visual marked "Filter" a custom visualization?  With the standard "slicer" visualization in PBI, you can change it to a date range slider:

 

slider.PNG

 

 

 

 

 

 

 

In the rop right there will be options of "between", "before", "after" etc.  It's not quite as elegant as the Excel-style slicer that you show, but may serve your purposes.

 

Hope this helps

David


@thliberato wrote:

Good afternoon.

 

Look at the example below.

I would like to select a specific month in the filter and both charts display the history until the selected month.

 

For exemplo, I select 10-October. 11 and 12 Should disappear from the graph.

 

 

teste.JPG


@thliberato

It should, as long as the date table in the filter has proper relationship with the data table.

@Eric_Zhang, this is the relationship.

 

I did not understand your suggestion to solve the problem.

I want to select a month in the filter, and my chart shows the history until the month chosen in the chart.

 

 

Untitled.jpg


@thliberato wrote:

@Eric_Zhang, this is the relationship.

 

I did not understand your suggestion to solve the problem.

I want to select a month in the filter, and my chart shows the history until the month chosen in the chart.

 

 

Untitled.jpg


@thliberato

Could you post a sample pbix for testing?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.