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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
MaliniBaktha
Helper II
Helper II

Current week dax function without a calendar table

Hi, 

I am trying to put my refresh date as to show the data refreshed date as of now in my dashboard. But I dont have the calendar table. If I have a calendar table then I know the dax to put the every monday date as my data as of function. But since I dont have a calendar table attached is there any solution ?

MaliniBaktha_0-1692874598747.png

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Subtract the weekday of the date from the date (select the option where monday is 0 and sunday is 6).  That will always return the monday of that week.

View solution in original post

7 REPLIES 7
lbendlin
Super User
Super User

lbendlin
Super User
Super User

Subtract the weekday of the date from the date (select the option where monday is 0 and sunday is 6).  That will always return the monday of that week.

I used a today function thinking that will show the date of my refresh. But it is typically wotking as current date. How do I use your suggestion in DAX? 

Neither dates are useful.  Always use dates from your fact table to identify when the last activity was reported.

so the problem with our calendar table is I dont have a weekday column to choose the recent activity 

MaliniBaktha_0-1694697544381.png

These are the columns in my calendar date table 

Activities are in your fact table, not the calendar dimension table.

 

I would recommend you mark your Dates table as such  (which validates contiguity) and to disable auto/date time hierarchies.

is this disable option in the format section?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.