ilovedata (9/10/2015)
Thanks for the guidance, Once I am able to get the answer I will mark it as solution. it will be really helpful if you have a sample query by any chance.
The best reference would be the official MDX documentation on MSDN, which also contains sample queries. Without knowing the structure of your cube and exactly what you're trying to do, we cannot really offer anything that will be closer than that.