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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Eduardo_Jimenez
Frequent Visitor

Decision Tree - The tree depth is zero

Hi!

 

I am using the decision Tree module in order to find a correlation of a mystery shopper questions and sale's level of the salesman.

 

I am using this module but It is always showin the sentence "The tree depth is zero" and the tree depth sould be more than zero. I attach the error. I am not an expert using this module but it seems that something is not good with it.

 

Someboy can help me?

 

 

Power BI Error.JPG

 

 

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Eduardo_Jimenez,

 

Here is a sample file about Decision Trees. Please test whether it works in your environment. You could load your own data source into this sample file and check whether Decision Tree can display correctly.

 

Regards,

Yuliana Gu

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

Hi Yuliana:

 

The example you mention is working rigth but as soon as I tried with my data it does not work. Is there any condition with regards to the data type, data number o anything that I should check before?

 

Thanks


Edu

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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