This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
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" } )
)
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |