Forum Discussion
Many to Many Relationship
- 8 years ago
Hi everbody,
got the solution. First problem was to choose the wrong "offerID"-column to get a relationship.
I created a unique ID in the Pricelist concatenate with OfferID + Month(ValidFromDate) + Year(ValidFromDate).
Thanks for replies and help.
HI EMGI,
You can try to create calculated table with 'Union' and 'DISTINCT' functions to merge columns and get unique id.
Sample formula:
Link Table =
DISTINCT (
UNION ( VALUES ( calculated[OFFER ID] ), VALUES ( Pricelist[OFFER ID] ) )
)
Regards,
Xiaoxin Sheng
Anonymousthank you for reply.
I created the linked table according to your explanation above.
I create a table with OfferName of the calculated table and the List Price of Pricelist. If i choose "don't summarize" i get the error message "can't display the visual".
What do i have to do to create a visual with the correct list price for each OfferName( Product) ?
Hope you can help me, Anonymous
- Anonymous8 years agoNot applicable
Hi EMGI,
Have you drag the product id(from link table) to table visual? Current power bi seems not support to analysis mapping with multi-columns, you need to drag summary column to help power bi correct recognize records mapping.
Regards,
Xiaoxin Sheng
- EMGI8 years agoFrequent Visitor
Hi everbody,
got the solution. First problem was to choose the wrong "offerID"-column to get a relationship.
I created a unique ID in the Pricelist concatenate with OfferID + Month(ValidFromDate) + Year(ValidFromDate).
Thanks for replies and help.