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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
puneet3114
New Member

Similar Values Rows

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 - 

puneet3114_0-1705426262326.png

I want total customers and using distinct count for that but when I try in matrix it gives same value.

Relationship

puneet3114_1-1705426382907.png

 

Fact table- 

puneet3114_2-1705426511013.png

 

4 REPLIES 4
puneet3114
New Member

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.  

 

TheoC_0-1706119985023.png

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

TheoC
Super User
Super User

Hi @puneet3114 

 

Without having direct access to your PBIX file, it's hard to guarantee a solution. But can you please try the following:

 

  1. The relationship from Customer Details to Fact table might be best as single direction.
  2. Create a new measure [Total Customers] that is based on the Customer Details table.  
  3. Drag the new [Total Customers] measure into the Matrix visual.

 

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.