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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Relationship with two Date Column with Date Table Column

HI,
In my project,

I was working with Two date column ( Date of information received incident and Closed Incident )

1) if i choose Date of information received incident date column for relationship with date table date column.

i received Total count of all the incident i received.
2) but the error im getting is mismatching count between Closed incident and still open incident.

3) same thing happens when im apply Closed incident for common relationship , 
im getting either any of the data mismatching. if possible any ideas ? please help me 

2 ACCEPTED SOLUTIONS
aj1973
Community Champion
Community Champion

Hi @Anonymous 

You need to add an inactive relationship to join on Closed incident. Then create a measure 

CALCULATE(SUM() , UERELATIONSHIP())

If you can give more details or share a Sample, would be better explained

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

Anonymous
Not applicable

Hi @Anonymous 

In a table, you can only select one date column to be active with the date column in the date table, and when you select Received Incident Date Column and Date Table Date Column to associate, the other date column is inactive with the date column in the date table, and you can choose to use USERELATIONSHIP() function to active the relationship between other two columns.You can refer to the following link.

Using USERELATIONSHIP in DAX - SQLBI

Active vs inactive relationship guidance - Power BI | Microsoft Learn

 

Best Regards!

Yolo Zhu

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous 

In a table, you can only select one date column to be active with the date column in the date table, and when you select Received Incident Date Column and Date Table Date Column to associate, the other date column is inactive with the date column in the date table, and you can choose to use USERELATIONSHIP() function to active the relationship between other two columns.You can refer to the following link.

Using USERELATIONSHIP in DAX - SQLBI

Active vs inactive relationship guidance - Power BI | Microsoft Learn

 

Best Regards!

Yolo Zhu

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

aj1973
Community Champion
Community Champion

Hi @Anonymous 

You need to add an inactive relationship to join on Closed incident. Then create a measure 

CALCULATE(SUM() , UERELATIONSHIP())

If you can give more details or share a Sample, would be better explained

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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