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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Good day all!
I have the following formula that works just fine to calculate the amount of defects that are from Responsible Manfacturing Sub Group ''Engine''. The problem is, there is a Sub Group called ''Engineering'' so it does take this data as well.
Can I add another filter like a ''notCONTAINSSTRING'' to this one? all the ones I tried won't work.
Thank you!
HI,
I am not sure if I understood your question correctly, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
STT EnginePQITotalPts FIX =
CALCULATE (
SUM ( 'DIM ChassisDefectDataEWI'[FaultScore] ),
FILTER (
'DIM ChassisDefectDataEWI',
CONTAINSSTRING (
'DIM ChassisDefectDataEWI'[Responsible_Manfacturing_Sub_Group],
"Engine"
)
&& NOT (
CONTAINSSTRING (
'DIM ChassisDefectDataEWI'[Responsible_Manfacturing_Sub_Group],
"Engineering"
)
)
)
)
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
10 | |
6 |