Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am trying to add a holiday table to my Power BI model to calculate working days. Right now I only have two tables, the Date Table which I created using the Function "DateTable = calendarauto()". The Holiday Table is simply hardcoded reference table. When I attemp to connect the two in an effort to calculate workdays, I get an error regarding Circular Reference. Can someone please help?
Thank you, this is really baffling me.
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/
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
98 | |
81 | |
65 | |
62 |
User | Count |
---|---|
147 | |
116 | |
104 | |
88 | |
65 |