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.
How to get sum of values and the week value for most recent week that has values (might be in past eg not last week's).
I have a date table which has:
* week of year eg 44
* week of year + year eg 44-2022
* start of week/end of week eg as dates
I want to:
* put the sum of values and the week value on cards.
* calculate most recent week vs most recent week previous week change in percent
I have got most recent date and most recent date's sum of values as:
How to translate these into getting most recent week instead of most recent date?
Add one more step.
- get max date
- get the week of the max date
User | Count |
---|---|
77 | |
77 | |
36 | |
32 | |
29 |
User | Count |
---|---|
93 | |
79 | |
57 | |
48 | |
48 |