Forum Discussion
relationship setup
isualsHi vjnvinod
One thing to make sure you do is to use the HQRegion field from the Region table in your slicers and also on the axis of your visuals. Go so far as to hide the HQRegion fields in both the Inbound and Outbound table.
That way, when a filter is being applied using the 'Region[HQRegion] field, it gets applied to rows in both Inbound and Outbound.
- vjnvinod8 years agoImpactful Individual
I have used the below DAX for creating a newtable as region
Region =
FILTER(
DISTINCT(
UNION(
DISTINCT(Inbound[HQRegion]),
DISTINCT(Inbound[DeliveryRegion])
)
),
NOT(ISBLANK(Inbound[HQRegion])))Go so far as to hide the HQRegion fields in both the Inbound and Outbound table? Not sure why i have to hide this?
- Phil_Seamark8 years agoMicrosoft Employee
Hi vjnvinod
I only suggested you hide those fields so you don't accidentally use them in your slicer, or on an axis.
- Phil_Seamark8 years agoMicrosoft Employee
Just to be clear. Only use fields from the middle tables (surrounded by the red rectangle) for your slicers and on the axis of your visuals.
Do not use ANY fields from the two tables with the red crosses in a slicer or on the axis of a visual. You can use numeric fields from these tables for measures etc.