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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
raju8004
Frequent Visitor

data Modelling

i have date column in sharepoint csv file and i have created date table by using calender(min(date column),today()) to establish a relationship berween tables to create a dynamic date range for slicer filter ,unfortunantely its not working and giving blank results.

can anyone help me to resolve

3 REPLIES 3
Alex87
Solution Sage
Solution Sage

create the date table in Power Query, see code here - Extended Date Table (Power Query M function) - Power Query / M Code Showcase - Enterprise DNA Forum

Make sure you have the same data type for the two columns used for the relationship.

 

 




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!




DateTable1 =
ADDCOLUMNS (
    CALENDAR (MIN('CR Monitoring'[sys_created_on]), TODAY()),
    "Year", YEAR([Date]),
    "MonthNumber", MONTH([Date]),
    "MonthName", FORMAT([Date], "MMMM"),
    "Quarter", "Q" & FORMAT(QUARTER([Date]), "0"),
    "YearMonth", FORMAT([Date], "YYYYMM"),
    "YearMonthName", FORMAT([Date], "YYYY MMMM"),
    "Day", DAY([Date]),
    "Weekday", WEEKDAY([Date], 2),
    "WeekdayName", FORMAT([Date], "dddd")
)

created date table using above code

both table dates are same format  i have made forgot to mention but not 

working

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.