Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin 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.
Hello, I have a few date fields in my fact table. I created a date dimension table and assigned all the relationships to them.
I Know only one will be active out of all. ( pic is shown below).
Can someone help me in calculating a running total column using a different relationship?
Below is one Calculated column I created ( which is working since I used this with an active relationship.
Now I want to create one more running total.(Using the date Hos
Below is what I have ( this is now working).
Thank you.
Solved! Go to Solution.
Below is how I got what I needed.
Thank you all for your help.
I really Love this community.
Tough to be specific, but in general you need to use USERELATIONSHIP.
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Thank you for trying to help me.
I used this below expression to calculate and still I am not getting what I needed.
Any help is really appreciated.
Hi, @reddy421_hc
Based on your description, I created data to reproduce your scenario.
TableA:
TableB:
The relationship between two tables is inactive.
You may create a measure as below. It is important that you should write 'USERELATIONSHIP(TableB[UserId],TableA[UserId])' instead of 'USERELATIONSHIP(TableA[UserId],TableB[UserId])'
Measure =
CALCULATE(
SUM(TableB[Amount]),
USERELATIONSHIP(TableB[UserId],TableA[UserId])
)
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Below is how I got what I needed.
Thank you all for your help.
I really Love this community.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
61 | |
61 | |
55 | |
38 | |
27 |
User | Count |
---|---|
83 | |
61 | |
45 | |
41 | |
39 |