cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sandip626 Frequent Visitor
Frequent Visitor

Last 3 months data has to displayed with single month selection from slicer

Hi 

I am new user to DAX and power BI. Please help me. 

I have a date column, month & year ( example : 01-2019) in the table and few other columns.

 

I have a month & year slicer. When the end user selects a perticular value ( example : 01-2019) a plot with x-axis as date has to display last 3 months of data. That means data for 01-2019, 12-2018, 11-2018 has to appear in x-axis of the plot. 

 

How to get 3 months data to x-axis when the user selects one month only. please help

1 REPLY 1
Community Support Team
Community Support Team

Re: Last 3 months data has to displayed with single month selection from slicer

Hi @sandip626,

 

I think you need use a unrelated date fields as source of slicer, then write measure as filter apply on visual level filter to filter records.

 

If source fields of slicer has relationship to your table, these table records will been filtered by slicer selection.(you choose one month in slicer so it should only display one month records)

 

Please share more detail information to help us clarify your requirement.

How to Get Your Question Answered Quickly

 

Regards,

Xiaoxin Sheng

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



For learning resources/Release notes, please visit: | |