Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Analysis Server and Reporting Services (2012)
 Referenced relationship in Tabular model
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

varalakshmi
Yak Posting Veteran

India
98 Posts

Posted - 06/18/2013 :  06:30:10  Show Profile  Reply with Quote
Hi,

How to handle referenced relationship in Tabular Model in SSAS?

Thanks

- Varalakshmi

ditch
Flowing Fount of Yak Knowledge

South Africa
1466 Posts

Posted - 06/18/2013 :  06:37:32  Show Profile  Visit ditch's Homepage  Reply with Quote
I'm not quite sure I understand.
Please provide more info.

Duane.
http://ditchiecubeblog.wordpress.com/
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

Posted - 06/18/2013 :  06:37:51  Show Profile  Reply with Quote
you need to use RELATED() DAX function for that and create a calculated column
And to see if its related just add an expression based on COUNTROWS function to check if count > 0 to get related ones
------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs

Edited by - visakh16 on 06/18/2013 06:42:16
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

Posted - 06/18/2013 :  06:51:36  Show Profile  Reply with Quote
this also an illustration

http://sqlblog.com/blogs/marco_russo/archive/2009/12/07/many-to-many-relationships-in-powerpivot.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000