We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
Hi Team,
I am trying lookup a particular value in from my lookup table using optional parameters, meaning number of columns to lookup the data in lookup is going to vary based on the selected filters from another table. Is it possible to have optional parameters in LOOKUPVALUE DAX? Please clarify.
Solved! Go to Solution.
@ArulselvanD07,
It is not possible to use optional parameters in LOOKUPVALUE DAX as you describe. As stated in this article, both result_columnName and search_columnName parameters cannot be an expression.
LOOKUPVALUE( <result_columnName>, <search_columnName>, <search_value>[, <search_columnName>, <search_value>]…)
Regards,
Lydia
@ArulselvanD07,
It is not possible to use optional parameters in LOOKUPVALUE DAX as you describe. As stated in this article, both result_columnName and search_columnName parameters cannot be an expression.
LOOKUPVALUE( <result_columnName>, <search_columnName>, <search_value>[, <search_columnName>, <search_value>]…)
Regards,
Lydia
User | Count |
---|---|
67 | |
61 | |
47 | |
35 | |
32 |
User | Count |
---|---|
87 | |
72 | |
56 | |
49 | |
45 |