Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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 |
---|---|
57 | |
22 | |
18 | |
16 | |
11 |
User | Count |
---|---|
85 | |
54 | |
39 | |
21 | |
18 |