Forum Discussion
How to load data in a table based on Max date for the first time
- 6 years ago
Hi d_sandip59 ,
Based on your previously measure, you can create a new table to extract date first:
Table = DISTINCT('EDG_COUNT_STATUS'[Date])Then try to create this measure:
Date filter = VAR _date = SELECTEDVALUE ( EDG_COUNT_STATUS[Date] ) RETURN IF ( NOT ( ISFILTERED ( 'Table'[Date] ) ), [MaxDateFilter], IF ( _date IN FILTERS ( 'Table'[Date] ), 1, 0 ) )You can put this measure in the visual filter of table to solve this case:
default date valueafter choosing date manually
Here is the demo, please try it:
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi d_sandip59 ,
Based on your previously measure, you can create a new table to extract date first:
Table = DISTINCT('EDG_COUNT_STATUS'[Date])Then try to create this measure:
Date filter =
VAR _date =
SELECTEDVALUE ( EDG_COUNT_STATUS[Date] )
RETURN
IF (
NOT ( ISFILTERED ( 'Table'[Date] ) ),
[MaxDateFilter],
IF ( _date IN FILTERS ( 'Table'[Date] ), 1, 0 )
)You can put this measure in the visual filter of table to solve this case:
default date valueafter choosing date manually
Here is the demo, please try it:
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Thank you very much for your help. It really wroks.
Thanks,
Sandip
- v-yingjl6 years ago
Community Support
Hi,
My pleasure🙂
Best Regards,
Yingjie Li