Forum Discussion
Can't see future dates in visual
I've got a table with some dates in the future. Somehow my visual won't show these dates, when using a custom date table.
The measure used is:
3 Replies
- CNENFRNL
Community Champion
Anonymous , generally speaking, when a measure returns BLANK(), viz doesn't show it by default; a common trick to convert BLANK() to 0 is like this,
Expected Amount = CALCULATE(SUM('Lead'[Amount]), USERELATIONSHIP('Lead'[ExpectedDate], 'Calendar'[Date])) + 0 - VijayP
Community Champion
Anonymous
Find attached pbix. it is working for me .
Can you share sample data . or Replace the data in the pbix what i am sharing and see whether it is happening properly!
https://drive.google.com/file/d/1KU0jmiJbfFsaM6SM4XzBf7cVBDeRG54R/view?usp=sharing
- v-jingzhang
Community Support
Hi Anonymous
Does this issue still occur now? I used some sample data as shown below to test your measure and the visual is displayed well with the future data.
Sample data for Table‘Lead’and the relationships between tables:
Calendar table formula: Calendar = CALENDAR(DATE(2017,1,1),DATE(2022,12,31))
And the result is displayed totally with the future data:
So can you check if there is any other filters that may influence the filter context in your model?
Best Regards,
Community Support Team _ Jing Zhang
If this post helps, please consider Accept it as the solution to help other members find it.