Forum Discussion
mhr08004
1 year agoFrequent Visitor
Sum measure based on Related Table
Hello all - Please help with this simple issue
Table 1: Mapping Table of City to State
Table 2: Contains Sales, City and Month
I have linked these table together via the City fields via a one-to-many relationship.
I need to make a matrix that sums based State, however I cannot make this work. It sum all values instead of by state.
Months in the columns, State in the Rows, Sales values in the values.
Thank you
5 Replies
- ryan_mayu
Super User
- mhr08004Frequent Visitor
Yes. This works... You have made it clear my data is the issue and not my modeling skill. Thank you!
Any thoughts on why my real data would sum ALL OF JAN no matter the state of the sale in every row?
- ryan_mayu
Super User
have you created the correct relationshipt between two tables? could you pls share your pbix file?