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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 40 | |
| 33 | |
| 29 | |
| 27 |
| User | Count |
|---|---|
| 131 | |
| 105 | |
| 60 | |
| 56 | |
| 55 |