cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dw700d
Helper V
Helper V

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 I
Resolver I

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 I
Resolver I

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
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power BI Dev Camp Session 27

Ted's Dev Camp

This session walks through creating a new Azure AD B2C tenant and configuring it with user flows and custom policies.