Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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,
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
11 | |
10 | |
10 | |
10 |
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
8 |