Only in HOLAP or ROLAP storage SSAS can read data from relational database and we can tune response with creating indexes, partition, metarialized view etc. in relational source. For Molap data located in SSAS site , but if your query is detailed aggregate isn't used.