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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Bug Report - Calculated table using the CALENDAR function can't create one to many relationship

When creating a Calculated table using the CALENDAR function the Date column generated by the function can't be used as the many side in a one to many relationship if you pass another function as a parameter.

 

Here's an example of a Calculated table I've used for testing, when I use the hardcoded date value and the TODAY() function there is no issue, when I try to use the calculated value it will not let me create a one to many relationship using the Date column.

hmpslrssn_0-1741053118585.png

 

When trying to create the "one to many" relationship the report just flashes up the "Working on it" popup and then nothing happens, no error message and no relationship is created.

I get the same behavior if I create the relationship using the hardcoded value and TODAY function and then try to update the code to use the calculated date value instead, it just flashes up the "Working on it" popup and then does not save the changes to my code.

 

The issue only persents itself when creating "one to many" relationships, if I adjust the data in the calcualted table to allow for a "one to one" relationship I can create that without any issue. I'm also able to create a "many to many" relationship even though it doesn't make sense for the underlying data.

 

I've uploaded a report here that shows the behaviour explained: https://www.dropbox.com/s/odcnk3r46zjbtpl/FailedRelationshipDemo.pbix?st=0viw1k4b&dl=0

Status: Investigating
Comments
Anonymous
Not applicable

Hi  @hmpslrssn ,

 

 

Based on the above information, It's a reproducible issue. Due to the new reply policy, I would suggest opening a Support Ticket.Ticket support engineers will take your issue back to the PG team.

If you are a Power BI Pro or Fabric licensee, you can create a support ticket for free and a dedicated Microsoft engineer will come to solve the problem for you. 
It would be great if you continue to share in this issue to help others with similar problems after you know the root cause or solution.

 

The link of Power BI Support: Support | Microsoft Power BI

For how to create a support ticket, please refer to How to create a support ticket in Power BI - Microsoft Power BI Community

 

Best Regards,
Community Support Team _ Caitlyn