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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Implementing USERELATIONSHIP on measures for different date columns

Hi,

 

I'm trying to create a line chart with running totals for three measures I created. 

 

The problem is my fact table has 3 date columns - I've created inactive relationships with my Date table but becuase the measures aren't straightforward I'm struggling. 

 

The data has the following headers:

 

SophRow_2-1675318465996.png

 

Unforuntaley participant status is only reliable for two measures and for the other I have to count total rows and using COUNTA as the status randomisation can change later on. 

 

They are:

 

Total Randomised = COUNTA('Participant Details'[Randomisation Date])
Total Withdrawn Post-Rand = CALCULATE(COUNTROWS('Participant Details'),'Participant Details'[Subject Status]="Withdrawn Post-Rand"
Total Completed = CALCULATE(COUNTROWS('Participant Details'),'Participant Details'[Subject Status]="Completed")

 

I can't get the USERELATIONSHIP to work, but I need to connect to the following columns:

 

Total Randomised is Randomisation Date

Total Withdrawn Post-Rand and Total Completed are Date of Completion / Withdrawal

 

Any ideas?

 

Best,

Soph

1 ACCEPTED SOLUTION
Anonymous
Not applicable

2 REPLIES 2
Pertunia
Regular Visitor

Hi Experts, I have been trying to group or split (can't find the exact word) the rows of the first column (PP_NO). I need to have 2 have two separate columns, one for 1 and the other for two. And also combine data of the same date in a column. 

Please advise how do i do that. 

Picture1.png

Anonymous
Not applicable

Solved!

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.