Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
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.
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
User | Count |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
13 | |
12 | |
10 | |
6 |