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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Current month/Year/Qtr

I have a table with 3 years of old Data and am writing a dax to get the Current month but my data is old . If i select monthly i need latest month data available in the data source and same as qtr and year.

kazzali_0-1662574721408.png

If i write hardcode dax i can get the data but  if new data update in the source its not working

kazzali_1-1662574849885.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I have the sample data from that month only

 

View solution in original post

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

According to your code, you have a specific date, so it can't work by the data changs.

vkalyjmsft_0-1662717806404.png

But I not very clear about your expected result, as you say you want to  get the current month(2022-9), why did you specify 2022/1/8 in the formula. Would you like to explain more about it?

Best Regards,
Community Support Team _ kalyj

Anonymous
Not applicable

I have the sample data from that month only

 

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.