Forum Discussion
krish007na
5 years agoNew Member
Measure Total not correct when created from 2 different tables
I have 2 tables as ProductTarget and Signals. I want to create a measure like ProductTarget[Target] * Signals[Value]. Some of the ProductTarget[Target] values are 0. So the multiplication will be 0....
- Anonymous5 years ago
Hi krish007na ,
You can create another new measure as below to replace the previous measure [Port wgt avg]:
Measure = SUMX(GROUPBY('ProductTarget','ProductTarget'[BMName],'ProductTarget'[Desc]),[Port wgt avg])Best Regards
Fowmy
5 years agoSuper User
krish007na
Please share a sample PBIX file. You can save in Google or One Drive and share the link here.
krish007na
5 years agoNew Member
- Fowmy5 years agoSuper User
krish007na
Your model needs to be fixed first. You have created Many-to-many relationship and the whole file behaves unexpectedly.
If Signal is the dimension file, remove duplicates from the Column "Sedol" and set the relation to One-To-Many.