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,
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)
User | Count |
---|---|
14 | |
10 | |
7 | |
6 | |
5 |
User | Count |
---|---|
30 | |
19 | |
12 | |
7 | |
5 |