The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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?
User | Count |
---|---|
82 | |
80 | |
35 | |
32 | |
32 |
User | Count |
---|---|
93 | |
79 | |
62 | |
54 | |
51 |