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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
kcwilsonii
Helper I
Helper I

filter list is showing duplicate values and not a distinct list

I have PowerBI test project I am working on

 

Specifics

 

  1) connected to MOLAP cube in SQL server

 

  2) Dimension is a Zip Code lookup with Zip, City, State..et.

 

 

Problem is when I try to add State as a Filter the filter adds a state value for every zip code. It's not applying a distinct to the 

values. So I see NY like ten times in the list for the filter. This even happens if I try to add it as a slicer.

 

Am I missing something? This works in Excel just fine

1 ACCEPTED SOLUTION

Ok figured out the problem... In an attempt to clear the warnings I get upon processing the cube the key column was setup as Zip, State. This resulted in a listing that shows a repeated value for every zip since it thinks that is the Key column for that field.

 

I had trouble clearing the data field though and kept getting new error messages when I tried processing the dimension.

The only way to recover was to remove the the field from the dimension then add it back. I then had to reprocess the dimension and the data cube

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @kcwilsonii,

 

Can you share us some detail content to help us clearly your issue?

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

added filter for Geography of State and the list every matching value for every zip codeadded filter for Geography of State and the list every matching value for every zip code

Like this, I added a filter for state from my ZIp code lookup and it repeats the value for every matching zip. The list should at minimum come back with a distinct list and it's not doing that.

 

This is connection to a data cube in SQL server Analysis server with a dimension for Zip Codes

Ok figured out the problem... In an attempt to clear the warnings I get upon processing the cube the key column was setup as Zip, State. This resulted in a listing that shows a repeated value for every zip since it thinks that is the Key column for that field.

 

I had trouble clearing the data field though and kept getting new error messages when I tried processing the dimension.

The only way to recover was to remove the the field from the dimension then add it back. I then had to reprocess the dimension and the data cube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.