Forum Discussion
madji
8 years agoHelper I
Measure in PB
Hi I have two questions. This is my Example
1. Why Key from Sales and Key from Stock dont have relationshiop
2. How can I get table with calculating
for measure for stock Ive used this Measure = CALCULATE(Sum('Stock'[Stock]); FILTER( Stock; 'Stock'[Date] = MAX(Stock[Date])))
I want to get table
| 1 | Product1 | 20 | 4 |
| 1 | Product2 | 66 | 6 |
if I choose date1/01 - 2/01
5 Replies
- Greg_DecklerCommunity Champion
OK, you are going to need to share some sample data in a form that can be copied and pasted. Too much manual typing to try to recreate this scenario. But note that because of the direction of your relationships, Sales is not going to filter Key or Stock and Sales is not going to filter Product. You probably have to change the directions of your relationships.