I have a question regarding table relationships in SSAS Tabular. I have a fact-table with SalesLines and another "kind of dimension"-table with Reasons, which have a one-to-many relationship (one SalesLine can have any number of (or zero) Reasons for having been modified). Now I want to create a report which shows a table with SalesLines and a measure for SUM(SalesQty) and also an additional column for corresponding Reaons (if there are any). I also want to be able to filter this table by Reason.
How to achieve this? At first I created a "normal" relationship between SalesLines and Reasons (with "filter both directions") but this leads to my report-table only showing rows that have a Reason. (I guess this is due to SSAS-relationships being of "LEFT OUTER JOIN"-character...). What I did to solve this was to prepare my Reasons-table (in SQL) by UNIONing on "no reason"-records for all SalesLines that don'd have a Reason. This kind of seems to work, but to me this solution is ugly, and it might cause potential problems in the future when wanting to use the Reasons-table for some other purpose where it's not OK that it contains "no reason"-reasons...
Can anyone guide me on how to solve this in a more elegant way?