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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
mickey
Frequent Visitor

Create new table repeating dates for unique values of another field

Hi,

I created a table with the formula:

New Table =
    SUMMARIZECOLUMNS(
        'Date Table'[Date],
        Ward[Unique ID]
    )
 
This worked as intended as I need to create a new table with the dates repeated for each Ward Unique ID.
 
The problem I ran into was when trying to connect this table with the existing Date Table it turned up a circular dependencies in the relationship.
 
My thought are if I use a different calc for the date portion of my New Table such as CALENDAR(MIN('Date Table'[Date]), MAX('Date Table'[Date])) that should remove the circular dependency, I just don't know how to add back in the column which repeats the date range for each Ward Unique ID.
 
Thanks!
3 REPLIES 3
StefanoGrimaldi
Resident Rockstar
Resident Rockstar

you try with this approeach to see if it works for you: 

new table = ADDCOLUMNS( CALENDAR(MIN('Date Table'[Date]), MAX('Date Table'[Date])), "Ward Unique ID", Ward[Unique ID] )

basically you creating to table by separate and them merging them in this dax I think it should do the trick if I understand correctly. 

 

let me know to see further adjustments. 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




HI @StefanoGrimaldi 

 

When I try that formula I am unable to add in the Ward[Unique ID] as no table dimensions or fields appear, only measures

mickey_0-1686181582353.png

 

you doble checked there its a column naed like that? 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.