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 there ,
I want to show the chart like below -
Last 4 weeks chart -
How to achieve this, which will exclude the current week 47 ?
My Master Calendar -
My Lastest chart is showing like below -
Solved! Go to Solution.
maybe you can try to create a column to get the current week.
Column =
VAR _maxyear=max('Table'[year])
VAR _maxweek=maxx(FILTER('Table','Table'[year]=_maxyear),'Table'[week])
return if('Table'[year]=_maxyear&&'Table'[week]=_maxweek,"current week")
then add the new column in the filter, and unselect current week.
Proud to be a Super User!
maybe you can try to create a column to get the current week.
Column =
VAR _maxyear=max('Table'[year])
VAR _maxweek=maxx(FILTER('Table','Table'[year]=_maxyear),'Table'[week])
return if('Table'[year]=_maxyear&&'Table'[week]=_maxweek,"current week")
then add the new column in the filter, and unselect current week.
Proud to be a Super User!
User | Count |
---|---|
77 | |
77 | |
36 | |
30 | |
28 |
User | Count |
---|---|
107 | |
100 | |
55 | |
49 | |
45 |