Forum Discussion
Date Table Circular Reference w Holiday Table
What do you mean “hard coded ref table”? Personally I never create date tables in Power Pivot. How about using power query as per my article here https://exceleratorbi.com.au/build-reusable-calendar-table-power-query/
- Gopa8 years ago
Advocate II
I am also getting the same issue. In my case, the table is a transaction table with transaction dates and amount fields. The Dates table is created in Power BI desktop using the CALENDARAUTO function. This is also marked as a DateTable. But when I try to create a relationship between the [transaction date] field in the transaction table and the [date] field in the Date table, the circular reference error occurs.
The CALENDARAUTO fucntion is used / preferred to create the date table as this dynamically adjust the calendar table based on the minimum and maximum dates in the data model.