Forum Discussion
GellaiTamas
8 years agoHelper I
SEARCH + What-if + multiple tables
Hi, Here is the situation: I'd like to create a measure which is based on: - what country the user chooses (dropdown) - what vehicle type is chosen (dropdown) - how many vehicles are we talki...
- Anonymous8 years ago
GellaiTamas,
Create the following column in Vehicle_cost table.
CheckTrailer = IF(ISERROR(SEARCH("Trailer",Vehicle_costs[Vehicle])),0,1)
Then create the following measures in Vehicle_cost table.
Measure = MAX(Uniform1[Annual])
Uniform Cost = IF(MAX(Vehicle_costs[CheckTrailer])=1,0,[Measure]*[# of vehicle Value])
Regards,
Lydia
Anonymous
8 years agoNot applicable
GellaiTamas,
Create the following column in Vehicle_cost table.
CheckTrailer = IF(ISERROR(SEARCH("Trailer",Vehicle_costs[Vehicle])),0,1)
Then create the following measures in Vehicle_cost table.
Measure = MAX(Uniform1[Annual])
Uniform Cost = IF(MAX(Vehicle_costs[CheckTrailer])=1,0,[Measure]*[# of vehicle Value])
Regards,
Lydia
GellaiTamas
8 years agoHelper I
Anonymous
It works. Thanks a million, Lydia!