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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.