Forum Discussion
DemiHaung
4 years agoFrequent Visitor
DAX Measure Base on Column value
Hi All I will appreciate your help as I'm trying to figure out my roadblock in power bi, here is the scenario I'm trying to create a measure base on the value on the field, the table have alrea...
- Anonymous4 years ago
Hi DemiHaung, Try this
Measure 4 =
VAR SelectedProduct = SELECTEDVALUE(Table[Product])
RETURN
IF(
SelectedProduct = "A", [Measure1]+[Measure2]+[Measure3],
BLANK()
)If found helpful mark as a solution or give Kudos for efforts. Thanks!
Anonymous
4 years agoNot applicable
Hi DemiHaung, Try this
Measure 4 =
VAR SelectedProduct = SELECTEDVALUE(Table[Product])
RETURN
IF(
SelectedProduct = "A", [Measure1]+[Measure2]+[Measure3],
BLANK()
)
If found helpful mark as a solution or give Kudos for efforts. Thanks!
- DemiHaung4 years agoFrequent Visitor
thank you it works, I never thought I can use the selectedvalue this way.