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.
Dear Team,
I have written following DAX to show our YTD closing balances in card visuals. When i am choosing months in slicer i am getting the values correctly. However, if i am not choosing any months in slicer, card visual is showing as "Blank".
DAX:
I would like to populate current month (september balance) as the default one when no month choosen. How to achieve this in DAX. Please guide me.
Solved! Go to Solution.
@DivakarKrishnan ,when you do not choose any month in the slicer , the last date for datesytd is the end date of your calendar. So if you do not have future data in any of your tables. Stop your calendar at today.
otherwise, you have to choose a month or date
refer Power BI — YTD -FAQ
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
@DivakarKrishnan ,when you do not choose any month in the slicer , the last date for datesytd is the end date of your calendar. So if you do not have future data in any of your tables. Stop your calendar at today.
otherwise, you have to choose a month or date
refer Power BI — YTD -FAQ
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
Thank you Amit.. This should be fine.