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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Ayyappa5678
Helper III
Helper III

Last 3 months date column using DAX in pbi, Kindly please help?

Hi Team,

I am new to power bi. 

I have date column as like below snapshot. based on this column I need to filter last 3 months data only.

By using relative date in slicer settings it will not working and not changing anything in visual level.

Kindly please help me with DAX Query for last 3 months?

Thanks in advance!

 

Ayyappa5678_0-1689174405398.png

 

1 REPLY 1
Anonymous
Not applicable

Hi @Ayyappa5678 ,

 

Check the model that the table with the [actual-delivery] is at 1 side of the relationship. 

Understand star schema and the importance for Power BI - Power BI | Microsoft Learn

 

Normally we create a date table in the model to filter the fact table. 

 

DateTable = CALENDAR(MIN('Table'[actual-delivery]),MAX('Table'[actual-delivery]))

 

Then use 'DateTable'[Date] to connect to 'FactTable'[Date]. And use the 'DateTable' [Date] column as the slicer value.

vcgaomsft_0-1689302208968.png

The exact cause of the problem can only be determined after checking your model.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (27)