Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi good day,
Can anyone help me on how to simplify the part of my calculated column. The Bold and underline portion
Thank you
Solved! Go to Solution.
Hey man, @AllanBerces
use the same IN approach like above, just with NOT operator:
Forecast =
FILTER (
SUMMARIZE (
'Data',
'Data'[Date],
'Data'[Subcon],
'Data'[TA],
'Data'[WNT],
"ForecastHrs", CALCULATE ( SUM ( 'Data'[ForecastHrs] ) ),
"Hoursperday", CALCULATE ( SUM ( 'Data'[Hours Per day] ) )
),
[Subcon] IN { "A", "B", "C" }
&& [TA] = "TA25"
&& NOT ( [WNT] IN { "FA5", "EG1", "Asset" } )
)
Hey man, @AllanBerces
use the same IN approach like above, just with NOT operator:
Forecast =
FILTER (
SUMMARIZE (
'Data',
'Data'[Date],
'Data'[Subcon],
'Data'[TA],
'Data'[WNT],
"ForecastHrs", CALCULATE ( SUM ( 'Data'[ForecastHrs] ) ),
"Hoursperday", CALCULATE ( SUM ( 'Data'[Hours Per day] ) )
),
[Subcon] IN { "A", "B", "C" }
&& [TA] = "TA25"
&& NOT ( [WNT] IN { "FA5", "EG1", "Asset" } )
)