This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I have two tables, and a relation between them through a lookup table.
Related with ID & UserID as:
Sales:
| UserId | Profit | Date |
| 1 | 2000 | 2018-02-01 |
| 1 | 2000 | 2018-02-01 |
| 1 | 200 | 2018-02-02 |
Users:
| Id | Firstname |
| 1 | Andrew |
Other
| UserId | OtherValue | Date |
| 1 | 5 | 2018-02-01 |
| 1 | 6 | 2018-02-02 |
| 1 | 4 | 2018-02-02 |
No relation errors. I am testing this with a simple matrix, as you can see, the OtherValue column is wrong, it should be as stated with red.
What am I doing wrong?
Solved! Go to Solution.
Hi @MrMarshall,
This is happening because you tables are joined only using UserID when the data is present for multiple days.
To Solve this join your tables using a concatenated column which is a concatenation of UserId and Date
Screenshots for the same are given below
concatenated column
Users Tables
New relationship
Final Output
Hope this helps!!!
Hi @MrMarshall,
This is happening because you tables are joined only using UserID when the data is present for multiple days.
To Solve this join your tables using a concatenated column which is a concatenation of UserId and Date
Screenshots for the same are given below
concatenated column
Users Tables
New relationship
Final Output
Hope this helps!!!
Hi!
I understand now. That was really helpful, Thx!
Although, it requires that I would create a Date value for each unique user.
I cannot seem to get it to work in an automated way, say if I have 100 users.
Any ideas?
Nvm, I figured it out! Created a list.
List.Dates([StartDate], 100, #duration(1,0,0,0))
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 24 | |
| 23 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 61 | |
| 35 | |
| 30 | |
| 23 | |
| 22 |