Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 12 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 28 | |
| 19 | |
| 11 | |
| 10 |