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

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

Reply
Anonymous
Not applicable

USERELATIONSHIP problem with appended Query

I have items created and closed each month. This was working for years and then we appended data from a new source. Since appending the query, this measure is no longer working. My current relationship from the appended source to my date table is as follows. The relationship uses the creation date. My measure uses the USERELATIONSHIP function to get the number of closed items.

     

datadad84_0-1623086710654.png

It's properly calculating the created per month. However, my measure is not correctly picking up items closed from the new data source.

 

Here's my measure to get the closed items per month.

 

 

 

Count Closed Actions := 
CALCULATE(COUNTROWS('EQMS Appended'),
    'EQMS Appended'[Date Closed],
    USERELATIONSHIP('EQMS Appended'[Date Closed],'Date Table'[Date])
    )

 

 

 

1 ACCEPTED SOLUTION

Just to discard possible issues, is the date closed field in the appended table formatted as date type (it must be the same type as the date field in the Date Table)?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Thank you Paul. Sadly, my issue remains.

Just to discard possible issues, is the date closed field in the appended table formatted as date type (it must be the same type as the date field in the Date Table)?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

Thank you Paul! My appended query was using DateTime! Once I updated it to date, it was working properly! Thank you so much!

PaulDBrown
Community Champion
Community Champion

Try:
Count closed actions =
CALCULATE(COUNTROWS (EQMS Appended), USERELATIONSHIP(EQMS Appended [Date Closed],  Date Table [Date]))





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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