Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I am trying to create a measure where I calculate # orders that were completed where the stations are not equal to or doesnt include a specific value.
This is what I currently have:
I want to not include any station(Production[Home Station1]) that includes "CON" in the station name or station name=MELV-CON, DEVL-CON, LIPO-CON
Thanks!
Solved! Go to Solution.
Create a measure using DAX formula below:
Completed = CALCULATE ( [#Orders], FILTER ( Production, Production[Comp Status] = "COMPLETED" && Production[Home Station1] <> "MELV-CON" && Production[Home Station1] <> "DEVL-CON" && Production[Home Station1] <> "LIPO-CON" && IFERROR ( SEARCH ( "CON", Production[Home Station1] ), -1 ) = -1 ) )
You can also refer to my attachment.
Regards,
Jimmy Tao
Create a measure using DAX formula below:
Completed = CALCULATE ( [#Orders], FILTER ( Production, Production[Comp Status] = "COMPLETED" && Production[Home Station1] <> "MELV-CON" && Production[Home Station1] <> "DEVL-CON" && Production[Home Station1] <> "LIPO-CON" && IFERROR ( SEARCH ( "CON", Production[Home Station1] ), -1 ) = -1 ) )
You can also refer to my attachment.
Regards,
Jimmy Tao
Can you clarify this:
I want to not include any station(Production[Home Station1]) that includes "CON" in the station name or station name=MELV-CON, DEVL-CON, LIPO-CON
Which ones do you want in and which ones not?
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |