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 moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hello everyone, I am working on 1 project and I am getting similar values again and again, I have tried other functions but it's still the same issue -
I want total customers and using distinct count for that but when I try in matrix it gives same value.
Relationship
Fact table-
Hi @TheoC I tried your solution and still facing the same issue, I will send you the PBIX file on LinkedIn if that's ok with you.
Hi @puneet3114
The reason that you are getting 9,164 in every single year is because you have 9,164 distinct Customer IDs in your dataset. Your Year column is in the same table as your TimeKey table and there are TimeKeys allocated to each of your 9,164 Customer Ids in every single year.
The output of 9,164 Customer Ids for every single year is correct in that regard. The two tables below show yoru original table and on the right show the second table I put together.
If some of your Customer Ids did not have a TimeKey in a specific Year, then the 9,164 would be different. But each one is allocated a TimeKey in the Time Details table and, as such, they appear accordingly.
Hope that makes sense.
Theo
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
It's more than okay @puneet3114! I look forward to receiving it and helping resolve it.
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Hi @puneet3114
Without having direct access to your PBIX file, it's hard to guarantee a solution. But can you please try the following:
Hopefully the above helps.
Theo
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
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 |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 53 | |
| 31 | |
| 23 | |
| 23 |