TE gives a warning with relationship even though one is active and one inactive #1268
TinyTimothy2
started this conversation in
Data Modeling
Replies: 2 comments 1 reply
-
Hi @TinyTimothy2 |
Beta Was this translation helpful? Give feedback.
1 reply
-
You don't need to set up multiple relationships between the same two columns to achieve this (which isn't possible, as @mlonsk pointed out). Simply use the DAX |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have Fact and Dim Cust_ID in both
I have one relationship with MANY on fact and one on DIM by Cust_ID ONE DIRECTION set to ACTIVE
I wanted to add another relationship with MANY on fact and one on DIM by Cust_ID set to BOTH directions set to INACTIVE
I have cases where i need to see EVERYTHING in DIM even if they have no FACTS.
Why is TE gives a warning with relationship even though one is active and one inactive
Is this not allowed
Case: One to Many
So if i have a visual as a matrix with
measure TOTAL CUSTOMERS (from the customer table)
row 1 Y exists in fact table N does not
row 2 a Year linked from date table to fact table
Output is all the same TOTAL Customers for each year (not desired)
Case: Both directions
So if i have a visual as a matrix with
measure TOTAL CUSTOMERS (from the customer table)
row 1 Y exists in fact table N does not
row 2 a Year linked from date table to fact table
Output is the correct TOTAL Customers for each year (perfect)
But there are cases where when using both i can get ambigous errors.
This is why i want the default to be one to many, and invoke BOTH for certain scenarios.
The only other thing i think of is have a duplicate copy of dim Custormer and set that to BOTH
But that can't be the preferred method, particular with 20 M customers
Beta Was this translation helpful? Give feedback.
All reactions