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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
df123445
Helper II
Helper II

Issue with date format/date hierarchy

I have a table with 2 date fields, looking at the properties they should be the same: 

 

df123445_1-1728547206461.png

 

But they seem to behave differently when I'm trying to filter on a date slider and looking at te table structure it seems 

that the 2 fields are not equal:

 

df123445_2-1728547410027.png

am I missing something here? 

 

I just want a start and end date in order to be able to filter by time period via 2 slicers:

 

df123445_3-1728547529656.png

but it's not working and I think it has to do with the fields format.

 

Anyone could help? TIA

 

4 REPLIES 4
Anonymous
Not applicable

Hi @df123445 ,

 

Make sure that the “Created” field is not related to a date in another table; if it is, there is no hierarchy of dates on multiple ends.

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

What do you mean by "“Created” field is not related to a date in another table" in fact the whole table is created based on another table (just a distinct subset of fields) and the expired  is a calculated column in the original table.

I had a look at the various steps and I can't see any errors (no blank records and the fields are always set to date/time through the various trasformation). Could it be the issue?

 

TIA

Anonymous
Not applicable

Hi @df123445 ,

 

That's why, you need to mark it as date table.

Set and use date tables in Power BI Desktop - Power BI | Microsoft Learn

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Kedar_Pande
Super User
Super User

Ensure both date fields (expired and created) are set to Date/Time in Power BI.

If either column contains blank values or nulls, this might affect filtering. ( Remove blanks)

If the date hierarchy is generating from one field but not the other, you may want to: Manually create hierarchies in both date fields, or ensure you are creating your slicers or visuals from the correct fields.

If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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