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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello all,
I have a simple DAX column that should adjust the date when data is written.
date_adjustment = FORMAT(table_name[Created],"dd.mm"
date_adjustment = FORMAT(table_name[Created],"dd.mm" - 1
hi @Nishlija995
try to write the column like:
date_adjustment =
VAR _date = [Created]
RETURN
MAXX(
FILTER(
table_name,
table_name[Created] <_date
&& NOT WEEKDAY(table_name[Created]) IN {1,7}
),
table_name[Created]
)
Hello @FreemanZ , thanks for fast response.
Unfortunatly this is not something I was looking for. Here is the screenshot.
This is the difference, on the right side is your formula. I need for all values to slip one day before. So 16th should be empty and this data should be written to 13th, 13th should go to 12th, 12th to 11th, etc. And also, weekends should not be visible in chart since they are empty.
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
13 | |
7 | |
5 |