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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dw700d
Post Patron
Post Patron

create a measure that shows values if coulmn contains a specific value

Good day,

 

I am trying to create a measure that  shows me any equipment id that contains an installed identifier in the installation column.

 

Current Table

Equipment id Client            installation    Amount   
1                                  john  100
1bobinstalled200
2mike 300
2marlon 400
3sarainstalled500
3ann 600

 

 

Desired Table

 

Equipment id                    Client Nameinstallation Amount
1john  100
1bobinstalled200
3sarainstalled500
3ann 600
1 ACCEPTED SOLUTION
daniel79
Resolver II
Resolver II

Maybe you can just do with a visualization level filter?

 

You could add a measure like this that will return whether the Equipment Id was installed or not.

Installed? = CALCULATE(maxx(Data,Data[installation]),ALLEXCEPT(Data,Data[Equipment id]))

 

And then filter the table by that measure

daniel79_0-1653337682110.png

 

View solution in original post

1 REPLY 1
daniel79
Resolver II
Resolver II

Maybe you can just do with a visualization level filter?

 

You could add a measure like this that will return whether the Equipment Id was installed or not.

Installed? = CALCULATE(maxx(Data,Data[installation]),ALLEXCEPT(Data,Data[Equipment id]))

 

And then filter the table by that measure

daniel79_0-1653337682110.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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