Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi guys,
I already searched but couldn't find an answer.
I have this 3 tables:
I want to create a Measure Field on Client Table where sum all Sales NET Value where Invoice Date is greater or equal than Today - 18 Months and Segment ID is X, Y, W, Z.
Any ideas how to do it ?
Thanks,
Solved! Go to Solution.
I already solve this.
Last Purchase Order = CALCULATE(SUMX('Client';'Sales'[NET Value Measure]); FILTER('Sales';'Sales'[Date_2]>=DATE(YEAR('Sales'[Current Date]);MONTH('Sales'[Current Date])-18;DAY('Sales'[Current Date]))); FILTER('Reference';'Reference'[Segment ID]="A"||'Reference'[Segment ID] = "B"||'Reference'[Segment ID] = "C"||'Reference'[Segment ID] = "F"))
Hope this is helpful to other :).
Thanks,
I already solve this.
Last Purchase Order = CALCULATE(SUMX('Client';'Sales'[NET Value Measure]); FILTER('Sales';'Sales'[Date_2]>=DATE(YEAR('Sales'[Current Date]);MONTH('Sales'[Current Date])-18;DAY('Sales'[Current Date]))); FILTER('Reference';'Reference'[Segment ID]="A"||'Reference'[Segment ID] = "B"||'Reference'[Segment ID] = "C"||'Reference'[Segment ID] = "F"))
Hope this is helpful to other :).
Thanks,
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
80 | |
67 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |