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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello
I am struggling with this dax and getting the above error. I cannot work out what is wrong with my syntax. Any help would be gratefully received:
Solved! Go to Solution.
@SalCambs , Try using
CIC at End of Month =
CALCULATE(
COUNTROWS('Annex A List 8 v2'),
'Annex A List 8 v2'[Date started to be Looked After] <= EOMONTH(MAX(DateTable[Date]), 0),
OR(
'Annex A List 8 v2'[Date Ceased to be Looked After] >= EOMONTH(MAX(DateTable[Date]), 0),
ISBLANK('Annex A List 8 v2'[Date Ceased to be Looked After])
)
)
Proud to be a Super User! |
|
Try:
CIC at End of Month =
CALCULATE (
COUNTROWS ( 'Annex A List 8 V2' ),
'Annex A List 8 V2'[Date Started to be Looked After] <= EOMONTH ( MAX ( DateTable[Date] ), 0 )
&& (
'Annex A List 8 V2'[Date Ceased to be Looked After] > EOMONTH ( MAX ( DateTable[Date] ), 0 )
|| ISBLANK ( 'Annex A List 8 V2'[Date Ceased to be Looked After] )
)
)
If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn
Try:
CIC at End of Month =
CALCULATE (
COUNTROWS ( 'Annex A List 8 V2' ),
'Annex A List 8 V2'[Date Started to be Looked After] <= EOMONTH ( MAX ( DateTable[Date] ), 0 )
&& (
'Annex A List 8 V2'[Date Ceased to be Looked After] > EOMONTH ( MAX ( DateTable[Date] ), 0 )
|| ISBLANK ( 'Annex A List 8 V2'[Date Ceased to be Looked After] )
)
)
If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn
@SalCambs , Try using
CIC at End of Month =
CALCULATE(
COUNTROWS('Annex A List 8 v2'),
'Annex A List 8 v2'[Date started to be Looked After] <= EOMONTH(MAX(DateTable[Date]), 0),
OR(
'Annex A List 8 v2'[Date Ceased to be Looked After] >= EOMONTH(MAX(DateTable[Date]), 0),
ISBLANK('Annex A List 8 v2'[Date Ceased to be Looked After])
)
)
Proud to be a Super User! |
|
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |