Forum Discussion
Mapping the Data with multiple source
- 6 years ago
Hi Anonymous ,
You can create intermediate calculated table like DAX below, then create relationships with your three original tables with "Both" of Cross filter direction.
Distinct Customer Grouping= UNION(DISTINCT('SSD'[Customer Grouping]), DISTINCT('PSD'[Customer Grouping]),DISTINCT('Outlet'[Customer Grouping]))Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
__Customers is supposed to be the distinct list of customers that you said you had, not their count, so something like:
VAR __Customers = DISTINCT('Table'[Column])
This returns a table of values, which is what you want for the measure.
Hello @Greg_Deckler
My apologies, the name of the measure is wrong. This is the measure I created if it expands. As you can see the measure is trying to get values other than psd and ssd during the last 6 months with condition, but it does not allow me since it says that it is not a valid table