Forum Discussion
Nick_2510
Helper I
4 years agoIF Conditions
Hi everyone! I need to add one option in IF constraction... switch off name if name in a period - data for this is in another table with colomns (Name, Start_period, End_Period) working constra...
tamerj1
Community Champion
4 years agoNick_2510
Here you go https://we.tl/t-j2udW5gRf0
OOS =
SUMX (
CROSSJOIN ( VALUES ('Календарь'[Date]), VALUES ( Glossary[Name] ) ),
IF ( [diff_AvSal_bal] < -1
|| 'Календарь'[Date] IN
CALENDAR (
CALCULATE ( SELECTEDVALUE ( delist[Start_per] ) ),
CALCULATE ( SELECTEDVALUE ( delist[End_per] ) )
),
1, 0 )
)