cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Re: Measures in Filter

@Thyago_Rezende

Table 1 aditional have two columns:

Id_transaction

Datetime

Id_product in first table don't unique.

Do you undestand me? 

Highlighted
Helper I
Helper I

Re: Measures in Filter

Who can help?

Highlighted
Helper I
Helper I

Re: Measures in Filter

Can anybody help me?

Highlighted
Helper I
Helper I

Re: Measures in Filter

@v-ljerr-msft

Please help resolve my problem

Highlighted
Community Support
Community Support

Re: Measures in Filter


@Grizman wrote:

@Thyago_Rezende

Table 1 aditional have two columns:

Id_transaction

Datetime

Id_product in first table don't unique.

Do you undestand me? 




Can you share sample data of those two tables and your expected results? 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Resolver I
Resolver I

Re: Measures in Filter

Hello @Grizman,

 

Can you send sample data? Or display all fields from tables?

 

 

Highlighted
Helper I
Helper I

Re: Measures in Filter

11.PNG

Resolver I
Resolver I

Re: Measures in Filter

You must create a Bridge Table for relation both Table1 and Table2. A bridge table with PrimaryKey from id_Product and bi-directional relationship. 
This article below, explain about pattern works for many to many relationship. 

 

https://www.sqlbi.com/articles/optimize-many-to-many-calculation-in-dax-with-summarize-and-cross-tab...

 

Regards,

Highlighted
Helper I
Helper I

Re: Measures in Filter

I created bridge table Table 3 with one column id_product.

But I don't know how realize formula Q-ty*Price across thase table.

Highlighted
Resolver I
Resolver I

Re: Measures in Filter

First picture below shows bi-directional relationship between tables. 

p1.png

 

Second picture shows measure for year 2016. 

p2.png

 

Hope help you. 

Best regards,

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Community Summit Australia – Join Online!

Community Summit Australia – Join Online!

Be a part of the leading Microsoft Business Applications digital event, curated for the APAC community.

Top Solution Authors
Top Kudoed Authors