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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
charliecronin
New Member

Linked date hierarchy blank after scheduled refresh

Hi there

 

I have a PBI report on our hosted PBI server. It is scheduled / updated nightly. I have a table (on left in image below) that has a Key and Last Updated fields. The Last Updated field has a relationship to a Date table that is created by a DAX (see code snip-it further below) and provides a hierarchy for Year/Month/Day. When you look at the table you can see the Year/Month/Day are blank.

charliecronin_0-1700043655815.png

 

 

When I edit the PBI file in the Desktop app the table gets populated as I would expect (see image below). If I save the report all looks good on the PBI server but when the report is scheduled/updated the table reverts back. Any ideas why this is?

 

charliecronin_1-1700043655826.png

 

 

Thanks for your time.

 

Charlie

 

Date =

 

VAR BaseCalendar = CALENDAR(MIN('Autotime Query'[Week Worked]), MAX('Autotime Query'[Week Worked]))

 

RETURN

    GENERATE (

        BaseCalendar,

        VAR BaseDate = [Date]

        VAR YearDate = YEAR(BaseDate)

        VAR MonthNumber = MONTH (BaseDate)

        RETURN ROW (

            "Day", DAY(BaseDate),

            "Year", YearDate,

            "Month Number", MonthNumber,

            "Month", FORMAT (BaseDate, "mmm")

        )

    )

1 REPLY 1
josef78
Memorable Member
Memorable Member

I'm not sure, but take care about full date value (include time part). Because power query can shift time part of date, if server is configured in different time zone.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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