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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
medlalami
Helper I
Helper I

Compare entries between two data

Hi all,

I have a table named DimDate that contains Dates in different format. And another table named Problems, that have two fields (created on and closed on), that I linked with the field Date, available on DimDate table:

relation.png

First relation and active one:

relation1.png

The second relation (non active):

relation2.png

Now on my graph, I need to display and compare between the created problems, basing into the creation date, and the closed problems (basing into the closure date). I have also a field name State, that contains following values:

  • Assigned
  • Draft
  • In Progress
  • Closed
  • Resolved

I need to display my graphe like that:

exemple.png

But I can only display the created problems, because the relation is active:

exemple2.png

param.png

I'm confused and I know that something is wrong but I can't see whats wrong.

1 ACCEPTED SOLUTION
medlalami
Helper I
Helper I

Solved but creating a mesure:

Closure = CALCULATE(COUNTROWS(Problems),USERELATIONSHIP(Problems[Closed On], DimDate[Date]))

View solution in original post

2 REPLIES 2
medlalami
Helper I
Helper I

Solved but creating a mesure:

Closure = CALCULATE(COUNTROWS(Problems),USERELATIONSHIP(Problems[Closed On], DimDate[Date]))
medlalami
Helper I
Helper I

graph1.png

I have a problem with the relations. The values of opened problems are correct but not the case for the closed values.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors