Forum Discussion
robertvdleeuw
3 years agoFrequent Visitor
Merge 2 selectedvalues from different tables
I have a dataset containing sales of different stores, and am creating a report in which 2 stores can be selected and compared. The 'Current' and 'Comparative' slicers at the top left oper...
tamerj1
3 years agoCommunity Champion
Hi robertvdleeuw
I did some trials. This should work
=
CALCULATE (
SELECTEDVALUE ( Location[Location] ),
TREATAS (
{
SELECTEDVALUE ( Current[Current] ),
SELECTEDVALUE ( Comparative[Comparative] )
},
Location[Location]
)
)
Please place this measure in the filter pane and select "is not blank" and apply the measure
robertvdleeuw
3 years agoFrequent Visitor
Hey, thanks again for the help. I tried your new solution, but now 'Selections' is blank.
Here are the important tables regarding this question, if that helps:
Stores
Current/Comparative (They're identical)
If you need anything else, just let me know.