Forum Discussion
Abrar786
Helper I
3 years agoYTD Sales Measure
Hello,
I am using category segmentation here. When I apply the measure at the category level, the YTD CY Sale measure is working fine. However, when I apply the same measure at the customer level, it shows the same total for all customers. Can you please help me fix this?
Following is my measure:
YTD Sales = TOTALYTD([Total Sale],'Calendar'[Date])
YTD CY Sale =
CALCULATE (
[YTD Sales],
FILTER (
ALL ( invoices_details[customer_no] ),
COUNTROWS (
FILTER (
'category',
[YTD Sales] >= 'category'[category min value]
&& [YTD Sales] < 'category'[category max value]
)
) > 0
)
)
Thank you.
7 Replies
- Ashish_Mathur
Super User
Hi,
Share the download link of the PBI file.
- Abrar786
Helper I
- Ashish_Mathur
Super User
Hi,
Drag the YTD sale measure to the Table visual.
- Abrar786
Helper I
Hi Ashish_Mathur ,
Could you please share the file or specify the measure that you have modified?
Thank you.