Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello experts,
I need some help with some simple things(for some people).
I managed to make a graph with series for 4 years by month. I would like to show in graph only data last 3 months
For example to see now only months March, Feb and Ian. But if I run report in August to see August July and June for all 4 series.
Thank you
Solved! Go to Solution.
Actually I realized that is quite simple
:
IsInFilter = IF(SalesQry[Posting_Date].[MonthNo]=MONTH(TODAY()) || SalesQry[Posting_Date].[MonthNo]=MONTH(edate(TODAY(),-1)) || SalesQry[Posting_Date].[MonthNo]=MONTH(edate(TODAY(),-2)) ,TRUE(),FALSE())
Actually I realized that is quite simple
:
IsInFilter = IF(SalesQry[Posting_Date].[MonthNo]=MONTH(TODAY()) || SalesQry[Posting_Date].[MonthNo]=MONTH(edate(TODAY(),-1)) || SalesQry[Posting_Date].[MonthNo]=MONTH(edate(TODAY(),-2)) ,TRUE(),FALSE())
Hi @Anonymous,
That's great! Please mark your answer as solution.
Best Regards,
Dale
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
78 | |
59 | |
36 | |
33 |
User | Count |
---|---|
93 | |
59 | |
56 | |
49 | |
41 |