Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
11 | |
10 | |
10 | |
9 |
User | Count |
---|---|
18 | |
13 | |
12 | |
11 | |
8 |