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,
Can anyone help me trouble shoot why my dax formula would suddenly calculate (blank)? It has never done this to me before.
Very simple if you run this code in DAX Studio:
EVALUATE
VAR UsedDate = TODAY() - 2 // today must be 2021-05-03
VAR FirstDayOfMonth =
DATE( YEAR( UsedDate ), MONTH( UsedDate ), 1 )
VAR WorkDays =
ADDCOLUMNS(
CALENDAR(
FirstDayOfMonth,
UsedDate
),
"WeekDayNumber",
WEEKDAY(
[Date],
2
)
)
-- [WeekDayNumber] < 6
RETURN
WorkDays
Thanks! I am still getting an error and I am not sure why? I am seeing it as infinity in calculations or (blank)
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 |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
19 |