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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
sc27
Frequent Visitor

Help removing specific values tied to a shared ID value

Hello,

 

I have a large dataset where a number of records are connected via unique IDs. I want to be able to see the associated attributes across all ID's and remove specific values.

 

To simplify it, I want to check for where an ID has more than 1 Account related to it. If it does, and that Account name is John, I do not want to include it within a separate concatenate measure.

sc27_0-1623436834371.png

 

I'd want my CONCATENATEX for Account, State and Level to give me this result

sc27_1-1623436865672.png

Is this even possible? 

6 REPLIES 6
Jihwan_Kim
Super User
Super User

Hi, @sc27 

Please check the link down below.

 

Picture2.png

 

Account Name(s) Measure =
IF (
ISFILTERED ( 'Table'[ID] ),
CONCATENATEX (
SUMMARIZE ( FILTER ( 'Table', 'Table'[Account] <> "John" ), 'Table'[Account] ),
'Table'[Account],
";"
)
)
 
 
State(s) Measure =
IF (
ISFILTERED ( 'Table'[ID] ),
CONCATENATEX (
SUMMARIZE ( FILTER ( 'Table', 'Table'[Account] <> "John" ), 'Table'[State] ),
'Table'[State],
";"
)
)
 
Level(s) Measure =
IF (
ISFILTERED ( 'Table'[ID] ),
CONCATENATEX (
SUMMARIZE ( FILTER ( 'Table', 'Table'[Account] <> "John" ), 'Table'[Level] ),
'Table'[Level],
";"
)
)
 
 
 
 

Hi, My name is Jihwan Kim.


If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.


Linkedin: linkedin.com/in/jihwankim1975/

Twitter: twitter.com/Jihwan_JHKIM

 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

I didn't think this would matter, but in my data, the ID is in one table (its a Fact table) and the Account, State and Level are all within one other. I tried to do what you sent over but it just concatenated every single Account, paying no mind to the relationship between the ID and the correct Accounts

Hi, @sc27 

Please share your sample pbix file's link here.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Unfortunately, you won't be able to see it. Access is maintained by an AD group and the data is sourced from a database which is also internal

Anonymous
Not applicable

Thanks, but that's not exactly what I need. I have a scenario where I need the remove a specifc value and its associated column values based on a logical condition. Then, take that result and conduct a separate concatenation

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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