The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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,
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |