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
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.