Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
andrewleal
New Member

Changing the column name from a Date Hierarchy field

Hello everyone, 

I created a column that subtracts a due date from the current date, to calculate how many days the assignment is overdue. 

code looks like this: 

 

Days overdue = TODAY() - TABLE[Due_date]

 

This works fine and dandy and graphs out the days over due like a champ, however the column name is set to "Day" because I enabled the "date hierachy" option.  How can I change this column name? If I switch it to "days overdue" in the values column it will just spit full dates with no graph. 

 

Any help would be greatly appreciated!

 

 

 

 

1 ACCEPTED SOLUTION
Hasan
Resolver I
Resolver I

Age.PNG

You can use the Query Eddiot/Add Column/Date/Age to calculate the Age and turn into days

View solution in original post

7 REPLIES 7
Hasan
Resolver I
Resolver I

Age.PNG

You can use the Query Eddiot/Add Column/Date/Age to calculate the Age and turn into days

i guess that graph is a new feature of powerbi? I did it the same you told me and it worked the way I needed it to, thanks!

is there a way to make that column look like the graph i posted above by chance? thanks for this!

I'm not sure but check out this option maybe helps you.


Power BI Desktop1.png

 

BI2.png

The result is something like this

IS A TABLEIS A TABLE

aroldan
Frequent Visitor

Can you post pictures? because I don't know if I understand it well.

My apologies, it must've not posted the first time, here is the column w/ the graph:daysoverdue.PNG

 

 

 

And here is the were I switched it from Date hierarchy to the column name of "Days overdue"

hierarchy.PNG

 

I'm also open to other solutions for this column. 

 

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors