The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi everyone, I have these data for this year. First column 'Mese' is month and second one 'Dossier' is a distinct count coming from the data set. 'Mese' is month hierarchy from field DATASTAT of table DUNDASSTAT.
I filtered for 2022 year and I create this measure
@sabinocivita , if you have the date, best it to have a date table have a measure like
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(date),date[date] <=max(date[Date])))
if data is at month level prefer YYYYMM format month or sortable month in a separate table
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(month),month[month ] <=max(month[month])))
@amitchandak sorry, but it's not clear. I'll explain better. I have a source table DUNDASSTAT. Then a date field called DATASTAT. I have a field DOSSIER. So maybe I have first to convert month name in a numeric month?
User | Count |
---|---|
79 | |
74 | |
42 | |
30 | |
28 |
User | Count |
---|---|
108 | |
96 | |
53 | |
48 | |
47 |