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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
namangarg55
Frequent Visitor

Filter list is showing duplicate values and not a distinct list in data view

I have a fact table with more than 10 million rows. In that when I am trying to filter the "Division" column in the data view for analyzing something how many rows does it have out of 10 million for one distinct division, it shows me that division multiple times within the filter option but a function of filter is to show only distinct values. Plz help.

14 REPLIES 14
Ritaf1983
Super User
Super User

Hi @namangarg55 
I'm not sure that I understood what you are trying to do.
If you want to check for your usage, not for visualization how many distinct values do you have from special division you can use a power query "Column profile option " :

1. activate it 

Ritaf1983_0-1706940327509.png

2. make sure that it is showing all rows and not just 1000 :

Ritaf1983_1-1706940417205.png

3. filter the division according to you needs

4. go to the column that you are testing and it will show you the number of unique values:

Ritaf1983_2-1706940573108.png

 

2. The second option is from "table view" :
filter the division and again go to the column that you are trying to test it's values :

Ritaf1983_3-1706940753660.png

 

 3 option , you can create a measure like:
devision_distinct = calculate ( distincount (test column), division = "abc")

Ritaf1983_4-1706941020364.png

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

In the table view when I am using the filter option for one column it is showing multiple same values for one division. Letz say I have two distinct division in complete column naming "HCP" & "PH". once I am trying to use the filter for that column it is showing HCP HCP HCP repetitive times. Why it is so? 

Because you have multiple rows with this division...

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

But for the filter option it should be showing only the distinct values only? 

@namangarg55 , now I understood your point, yes true it should be distinct in the filter.

 

are you sure all the division names that are even the same are enterd the same, maybe one has a space  with it.

 

what's the type of the column?



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Exactly you got my point. I have rechecked it is entered correctly with all the same values wid no spaces nothing different. Wat is the issue then... This is happening for certain columns within my fact table 

@namangarg55 , what's the type of the column ?



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Text

Hello @namangarg55 ,

 

check this thread https://community.fabric.microsoft.com/t5/Desktop/filter-list-is-showing-duplicate-values-and-not-a-...

 

try removing the column in power query then add it.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Distinct values for division...not for others columns
if your table is like

id division

1

HCP
2 HCP
3 HCP
4

HP

after filtering by HCP
you will see 3 rows

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

I mean to ask when I am dragging the filter option to filter out something it is showing HCP HCP HCP in the filter panel to filter out. Why it is showing multiple same values within filter panel? 

Maybe it has invisible  spaces or something, try to trim the column via power query :

Ritaf1983_0-1706942511750.png

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

I have tried using everything including trim, even rechecking the column values but issue not resolved

Idrissshatila
Super User
Super User

hello @namangarg55 ,

 

true in the main table it will show multuple because there are multiple transactions within the dame division.

 

to help nuild a better data model you can check the star schema data model,

 

check it out https://youtu.be/1CgG0t59WcM?si=kFNi3pa4oyJVvJDw

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.