cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
zhu_t Frequent Visitor
Frequent Visitor

Date hierarchy problem - Only Power BI-provided data hierarchies are supported

I am trying to calculate a monthly sales moving average but the rolling average time intelligence function only support Power BI-provided data hierarchies. What does "Power BI-provided data hierarchies" mean? How do I convert the current date hierarchies to the Powe BI supported ones? Thank you!

 

InkedCapture_LI.jpg

Capture1.PNG

3 REPLIES 3
Community Support Team
Community Support Team

Re: Date hierarchy problem - Only Power BI-provided data hierarchies are supported

Hi @zhu_t 

Is the "Dates[date]" column of type text or type date?

Does the "Date" table and "Transaction Line" table have a relationship?

 

You could refer to this article to learn how to create DAX for Moving average.

statistical aggregation functions, such as average, variance, and standard deviation

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

zhu_t Frequent Visitor
Frequent Visitor

Re: Date hierarchy problem - Only Power BI-provided data hierarchies are supported

the "Dates[date]" column is type date.

 

Yes, the transaction line is daily retail transaction base on date.

zhu_t Frequent Visitor
Frequent Visitor

Re: Date hierarchy problem - Only Power BI-provided data hierarchies are supported

I did a sanity check it seems not correct.

 

The daily sales qty was over 3 items over the past one month but the moving average qty is less than 1...not sure what went wrong? 

Helpful resources

Announcements
Community Highlights

Community Highlights

Find out what's new in the Power BI Community!

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 286 members 3,246 guests
Please welcome our newest community members: