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

How to limit data in the chart?

Hi,

 

In my application, I have a table that has two columns, Year Month, and Amount.

The amount is just calculated as SUM(Amount)

With such an expression table showing all data, I would like to limit it to the last six months based on the user selection. 

Current result:

VitaliiCH17_1-1676469135387.png

 

Expected:

When the user selects January 2018 then the chart should show the data from August 2017 till January 2018.

When the user selects September 2017 then the chart should show the data from September 2017 till April 2018.

I have tried to filter data but without any results.

 

Regards,

Vitalii

1 REPLY 1
lbendlin
Super User
Super User

Add a calendar table to your data model

create a date column in your fact table

Wire the calendar table into the date column

Teach your users how to apply filters to the date column of the calendar table (Relative Date, or Advanced Filter)

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.