Forum Discussion
need_help-1324
1 year agoNew Member
a single value for column cannot be determine
I am just trying to make simple if statement to capture corresponding value "optionvalue" based on the name "optionname" I wrote RESULT = IF(tablename[fieldname] = "value", sum(tablename[fieldn...
- 1 year ago
need_help-1324 Try using
dax
RESULT = IF(
SELECTEDVALUE(DataImport_Summary[OptionName]) = "Entitlements",
SUM(DataImport_Summary[OptionValue]),
0
) - 1 year ago
Hi need_help-1324
Can you please try this DAX.Result =CALCULATE(SUM('Table'[OptionValue]),'Table'[OptionName] = "Entitlements")
Please accept it as a solution if you got your solution - 1 year ago
Hello need_help-1324 ,
You can use below dax to show desired value in a card : This way your value will be displayed if you click on optionName column
Result =CALCULATE(SUM('SampleTable'[OptionValue]),'SampleTable'[OptionName] = SELECTEDVALUE(SampleTable[OptionName]))I hope this helps.
Did I answer your query ? Mark this as solution if this helps, Kudos are appreciated.
Kind Regards,
Neeraj
v-venuppu
Community Support
1 year agoHi need_help-1324 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Regards,
Rama U.