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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
MP-iCONN
Resolver I
Resolver I

Filtering the last months data in power bi report builder

I am trying to find the best way to filter on the Posted Date field and just return the last months values based on the Posted Date field.  

 

MPiCONN_0-1638987728003.png

 

I did some basic searches but couldn't find a good way to do it.

 

Thank you for any help you can give.

 

Chad

 

3 REPLIES 3
GilbertQ
Super User
Super User

Hi @MP-iCONN 

 

What you would need to do and I would highly recommend is to create a date table. Then in this date table you could use a filter from the date table to filter to only show the last months data?

 

Here is a blog post with more details: Power BI Date or Calendar Table Best Method: DAX or Power Query? - RADACAD





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I know how to do all of this in Power BI desktop and was successful with creating this report and dataset in that.  The reason I am doing this in Report Builder is because I can get it to subscribe and send me .csv files which can't be done with my subscription to Power Bi Premium User (which is sad they don't allow that, only PDF and PPTX).  Not very easy to figure out how to filter though in report builder so I am sure I am missing something.  Thank you.

Hi @MP-iCONN 

 

You could do that in your Power BI Dataset, and then connect Report Builder to this same dataset and then in your date table, you could use the filters at the top of Paginated Reports and filter it there?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors