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.
Good morning. I am having issues figuring out how to format a column in a table to only show dates within 365 days of the current date, but leave the blanks in the column for the dates outside of that parameter. I need the blanks due to may pie charts uses them to calulate completed training courses versus not completed, or expired, training courses. I have included a snapshot of one of the columns I'm trying to format. All the dates are currently within 365 days, but I need them to go blank as they expire. Any help would be greatly appreciated. Thank you.
Solved! Go to Solution.
Hi @robs67stang,
You could create a calculated column like the one below and use it instead.
In plain text:
Calculated Column = IF ( DATEDIFF ( [Default Date], TODAY(), DAY ) < 365, [Default Date], BLANK() )
Best Regards,
Alexander
Alexander,
That worked great. Thank you for your help!
Hi @robs67stang,
You could create a calculated column like the one below and use it instead.
In plain text:
Calculated Column = IF ( DATEDIFF ( [Default Date], TODAY(), DAY ) < 365, [Default Date], BLANK() )
Best Regards,
Alexander