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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
xander2121
Frequent Visitor

Step folding Unknown indicator error behind?

Hello everyone,

 

In the Step foldin indicators there is an "Unknown" indicator which represents absence of query plan due to an error. How do I find out that error? 

1 ACCEPTED SOLUTION
jjgb
Microsoft Employee
Microsoft Employee

Hi @xander2121

 

The step indicators are calculated by using the query plan. In "M", the query plan can be obtained by calling Value.Expression(Value.Optimize(...)) on the affected step.

 

For example, a known bug (under investigation) that will produce an "Unknown" step indicator is this:

 

let
  Source = Sql.Database("some_server""some_database", [CreateNavigationProperties = false]),
  Navigation = Source{[Schema = "dbo", Item = "Tags"]}[Data],
  #"Removed top rows" = Table.Skip(Navigation, 4)
in
  #"Removed top rows"

 

I can obtain the error message by adding a new step that obtains the query plan for the affected step:

let
  Source = Sql.Database("some_server""some_database", [CreateNavigationProperties = false]),
  Navigation = Source{[Schema = "dbo", Item = "Tags"]}[Data],
  #"Removed top rows" = Table.Skip(Navigation, 4),
  QueryPlan = Value.Expression(Value.Optimize(#"Removed top rows"))
in
  QueryPlan
 
Hope this helps. If you can, please share your query so we can track this as a bug.
 
Regards,
Jorge

View solution in original post

2 REPLIES 2
jjgb
Microsoft Employee
Microsoft Employee

Hi @xander2121

 

The step indicators are calculated by using the query plan. In "M", the query plan can be obtained by calling Value.Expression(Value.Optimize(...)) on the affected step.

 

For example, a known bug (under investigation) that will produce an "Unknown" step indicator is this:

 

let
  Source = Sql.Database("some_server""some_database", [CreateNavigationProperties = false]),
  Navigation = Source{[Schema = "dbo", Item = "Tags"]}[Data],
  #"Removed top rows" = Table.Skip(Navigation, 4)
in
  #"Removed top rows"

 

I can obtain the error message by adding a new step that obtains the query plan for the affected step:

let
  Source = Sql.Database("some_server""some_database", [CreateNavigationProperties = false]),
  Navigation = Source{[Schema = "dbo", Item = "Tags"]}[Data],
  #"Removed top rows" = Table.Skip(Navigation, 4),
  QueryPlan = Value.Expression(Value.Optimize(#"Removed top rows"))
in
  QueryPlan
 
Hope this helps. If you can, please share your query so we can track this as a bug.
 
Regards,
Jorge
Anonymous
Not applicable

Hi @xander2121 ,

 

Could you please provide some details like when the error occurs and screenshots to help us clarify your scenario?

 

Best Regards,
Eyelyn Qin

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors