Forum Discussion
PhilSmith
Helper III
4 years agoMany to Many my only option with one table created by Distinct
I have a sales table, (many duplicates,) and I am trying to create a One to Many relationship with CustomerBrandCatActive. This table will ultimately be a bridge. There are no other relationships c...
- 4 years ago
Hi,
I am not sure how your CustomerBrandCat table looks like, but please try the below.
Or, please share your sample pbix file.
CustomerBrandCatActive =
DISTINCT (
CALCULATETABLE (
SUMMARIZE ( CustomerBrandCat, CustomerBrandCat[Active] ),
FILTER ( CustomerBrandCat, CustomerBrandCat[Active] <> "N" )
)
)
Jihwan_Kim
Super User
4 years agoHi,
I am not sure how your CustomerBrandCat table looks like, but please try the below.
Or, please share your sample pbix file.
CustomerBrandCatActive =
DISTINCT (
CALCULATETABLE (
SUMMARIZE ( CustomerBrandCat, CustomerBrandCat[Active] ),
FILTER ( CustomerBrandCat, CustomerBrandCat[Active] <> "N" )
)
)