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! Request now

Reply
mlane
Helper I
Helper I

How can I have an industry standard date parameter in Power BI?

I am try to create a date parameter like can in Qlik Sense, Rshiny, Tableau with the following properties:

  • Its a true date parameter that treats date as a series instead of a list.  It can have a default date.  It can have a min and max range.
  • It able have a ""dynamic"" default value set by a calculation from a field.  In my most recent case, I would want that field to the refresh date that the data and semantic model was last refreshed
  • Is fixed at load or refresh

 

P.S.  This is kind of a industry standard concept in Business Intellegence at this point.

1 REPLY 1
FreemanZ
Super User
Super User

hi @mlane 

 

  • you can mark a table as date table:

https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-date-tables

 

  • in your date table definition, you can reference today() or MIN/MAX of a date column in your fact table, like:

Date =

ADDCOLUMNS (

CALENDAR (MIN(Fact[Date]), TODAY()),

"Year", YEAR ( [Date] ),

"Qtr", "Q" & FORMAT ( [Date], "Q" ),

"MonthNO", FORMAT ( [Date], "MM" ),

"Month", FORMAT ( [Date], "MMM" ),

"Day",FORMAT ( [Date], "DD" ),

"YYQ", FORMAT ( [Date], "YY" ) & "Q" & FORMAT ( [Date], "Q" ),

"YY/MM", FORMAT ( [Date], "YY/MM" ),

"Weekday", WEEKDAY ( [Date],2 )

)

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.