Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I am creating a New Customers Sales Rolling measure by creating a summarize table in dax:
The CustomerOrdersFinal table from the above measure looks like this:
In the last line of the dax measure I am referring to rolling column, but when I am doing a simple graph, it seems data from SalesByYear are taken into consideration:
What am I doing wrong?
File to download: https://drive.google.com/file/d/12sVJPAB-3xC1B8EWRoX5-uDKRFP3VxMo/view?usp=sharing
you may be overcomplicating things a little. Try this
New Customers Sales running total =
var o = FILTER(ALLSELECTED(Orders[Klient_Nazwa]),calculate(DISTINCTCOUNT(Orders[ ID Zamówienia]))<3)
var y = max('Calendar'[Year])
return CALCULATE(sum(Orders[Sprzedaż]),'Calendar'[Year]<=y,Orders[Klient_Nazwa] in o)
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |