Forum Discussion
Anonymous
5 years agoNot applicable
DAX Help needed
I have dashboard which has different DAX . One of the DAX is IF ELSE condition ,also has silcer on top of it. The intial values are ( 1,2) when flag applied as "No" . and there are cerntain value...
- 5 years ago
Hi Anonymous ,
Knidly check if the attachment is what you want.
Measure = SWITCH ( SELECTEDVALUE ( Flag[Flag] ), "No", SUM ( 'Table'[Value] ), "Yes", IF ( SELECTEDVALUE ( 'Table'[Dimension] ) IN { "A", "C" }, 2, SUM ( 'Table'[Value] ) ) )Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Icey
5 years agoCommunity Support
Hi Anonymous ,
Knidly check if the attachment is what you want.
Measure =
SWITCH (
SELECTEDVALUE ( Flag[Flag] ),
"No", SUM ( 'Table'[Value] ),
"Yes",
IF (
SELECTEDVALUE ( 'Table'[Dimension] ) IN { "A", "C" },
2,
SUM ( 'Table'[Value] )
)
)
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.