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

Join 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.

Reply
lav-I101
Frequent Visitor

Find anomalies with custom date hierarchy

Hello,

i noticed that the 'find anomalies' option gives out below error when i use a custom date hierarchy created via the Calendar function (whose year, quarter, month and date were also created via dax and the table was marked as date table):

 

lavI101_5-1633679818260.png

 

 

lavI101_4-1633679752758.png

 

 

This is what the visual looks like:

 

lavI101_0-1633679248688.png

 

However, if i pull the default date hierarchy, the find anomalies option works--->below a similar visual as the one above but with default date:

 

lavI101_2-1633679509710.png

 

lavI101_3-1633679657301.png

Can we confirm that the 'find anomalies' option only work with a default date hierarchy?

 

 

 

1 ACCEPTED SOLUTION

We only support the default date hierarchy (with date as a scalar key), because anomaly detection requires a date at backend, unfortunately arbitrary custom date hierarchy or custom format etc is not supported, because PowerBI infra cannot figure out these fields' date-type scalar key.

 

lisahua46_0-1634313229828.png

 

View solution in original post

2 REPLIES 2
mahoneypat
Microsoft Employee
Microsoft Employee

I reproduced what you saw, and expect it is related to going from a continuous X axis to a categorical one (Date Hierarchy).  I also tried it with a hierarchy made from EOM and EOY columns with custom format strings (mmmm and yyyy).  Same error.

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


We only support the default date hierarchy (with date as a scalar key), because anomaly detection requires a date at backend, unfortunately arbitrary custom date hierarchy or custom format etc is not supported, because PowerBI infra cannot figure out these fields' date-type scalar key.

 

lisahua46_0-1634313229828.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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