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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.