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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
pavithrarajan
Frequent Visitor

I want only fetch previous month records dynamically in M Cod power BI.

I have column "Date Modified" in my table. I want to filter my table based on Date Modified. 
I want only fetch previous month records dynamically in M Cod power BI. 
can you please help me.

Example: 

NameDate Modified
a06-Jun-24
b01-Dec-24
c03-Nov-24
d02-Oct-24



Outcome expected: 

current month is - 13-dec-2024
outcome records -  1-nov-2024 to 31-nov-2024

1 ACCEPTED SOLUTION
Tutu_in_YYC
Super User
Super User

use this

Tutu_in_YYC_0-1734123513924.png

 

 

 then

Tutu_in_YYC_1-1734123540193.png

 

View solution in original post

1 REPLY 1
Tutu_in_YYC
Super User
Super User

use this

Tutu_in_YYC_0-1734123513924.png

 

 

 then

Tutu_in_YYC_1-1734123540193.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.