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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Syndicate_Admin
Administrator
Administrator

Problems with the table relationship

Dear Community,

I have a peuqeño problem but I have not been able to solve because I can not find the error.

I have a table that has a creation time column where a date with a time exists

AlexisCab1602_0-1629926059517.png

and I generated another table with the calendarauto() function

AlexisCab1602_1-1629926128095.png

The issue is that I make the relationship between the tables through the columns mentioned but when trying to graph something, nothing appears 😞

AlexisCab1602_2-1629926225136.png

This is a failed attempt at graphing

AlexisCab1602_3-1629926294546.pngAlexisCab1602_4-1629926323046.pngAlexisCab1602_5-1629926345732.png

What am I doing wrong?, I have seen myself as 3 tutorials and in all I do the same steps and I do not achieve that the relationship allows me to graph correctly

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@Syndicate_Admin the relationship will not work if the date column in your transaction table contains time with date, calendarauto created a date column with a midnight time stamp. You need to change the data type to date in PQ for your original column or create another column and extract date from date/time column and then set relation on this new column., and that will fix the issue.  

 

Follow us on LinkedIn

 

Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

4 REPLIES 4
parry2k
Super User
Super User

 

@Syndicate_Admin so your issue is resolved or not? Not clear from your reply. If it is , please accept as solution so that others can take help from it.

 

Follow us on LinkedIn

 

Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

I edited my previous comment, I don't think I explained it well. The problem is fixed and marked as solved, thank you very much.

parry2k
Super User
Super User

@Syndicate_Admin the relationship will not work if the date column in your transaction table contains time with date, calendarauto created a date column with a midnight time stamp. You need to change the data type to date in PQ for your original column or create another column and extract date from date/time column and then set relation on this new column., and that will fix the issue.  

 

Follow us on LinkedIn

 

Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Thank you very much, I have duplicated the creation date column and in the duplicate I have extracted only the date, this duplicate column that only contains the date I have related it to the calendar table and now it allows me to graph correctly. Thank you for the solution. 👌

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.

Top Solution Authors