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.
Hi Community..!!
Below is my measure,
The problem here is , Jan'25 month is not present in my dataset then how it is displaying?
and i want the output as "-" if the month is not available in the dataset.
How do we do this by using DAX?
Solved! Go to Solution.
Thanks for the suggestion.
But I got the output and below is the solution,
@Anonymous EOMONTH is a non-time intelligence function and thus does not require a date table to be able to calculate dates. It's internally wired into the function. What you can do is add a check on your date table or other table to see if the date is present and if not, just return "-". Like:
VAR isPresent = COUNTROWS(FILTER('Automated Spend', [Month-Year] = futureSixMonths))
If that is blank, then the date is not present.
Thanks for the suggestion.
But I got the output and below is the solution,