Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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
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