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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ake
Frequent Visitor

Time Intelligence - Relations issue

Hi, Im want to implement a calendar table in my model, but the filters do not work if I make the relationship with between Created from table "CalendarA" and Created of the "Sol" table which is my fact table. but if I make the relationship between Created from table "CalendarB" (its the same table of CalendarA but with another name) to the column "fecha_entrega" of the fact table does work, but it's not what I want.

 

ake_0-1636050309263.png

 

ake_1-1636050334052.png

FILE: https://ufile.io/shb0hrja

 

Why this is happening? 

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

The reason is that the Created column of CalendarA has a DateTime data type.  You need to change that to Date.  Also, the relationship with CalendarB is to your Fecha_entrega column, which is type Date.

 

mahoneypat_0-1636070880490.png

 

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

3 REPLIES 3
v-yanjiang-msft
Community Support
Community Support

Hi @ake ,

By your sample, I create a new simple table, which is the top seven rows of your Soltable, and I create relationship like you.

vkalyjmsft_0-1636442509608.jpeg

vkalyjmsft_1-1636442509610.jpeg

I use the data to create a visual, and it works fine,so I think there is no wrong with your relationship, but its the Sol table cause your problem, I have no access to open it in PowerQuery, you can theck it more.

vkalyjmsft_2-1636442509611.jpeg

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mahoneypat
Microsoft Employee
Microsoft Employee

The reason is that the Created column of CalendarA has a DateTime data type.  You need to change that to Date.  Also, the relationship with CalendarB is to your Fecha_entrega column, which is type Date.

 

mahoneypat_0-1636070880490.png

 

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Thanks Mahonepat. That works perfect!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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