Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
43 | |
26 | |
20 | |
14 | |
8 |
User | Count |
---|---|
73 | |
47 | |
45 | |
17 | |
17 |