Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 22 | |
| 14 | |
| 10 | |
| 6 | |
| 5 |