Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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)
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |