Forum Discussion

Inácio's avatar
Inácio
Frequent Visitor
2 years ago
Solved

EnableFolding error

I got this erro 'Expression.Error: 'EnableFolding' is not a valid option for this function.The valid options are:(None)' 

 

Expression.Error: 'EnableFolding' não é uma opção válida para essa função. As opções válidas são: (nenhuma)

 

in this code:

 

let
Fonte = Oracle.Database("adw_prd", [HierarchicalNavigation=true]),
DW1 = Fonte{[Schema="DW"]}[Data],
Personalizar1 = Value.NativeQuery(DW1,"SELECT * FROM DW.FAT_VENDAS_ITENS",null,
[EnableFolding = true]),
#"Linhas Filtradas" = Table.SelectRows(Personalizar1, each [DT_TRANSACAO] >= RangeStart and [DT_TRANSACAO] <= RangeEnd)
in
#"Linhas Filtradas"

  • Good day Inacio,

    I fear the answer may be that Oracle does not support EnableFolding=true. I wrote up some notes on this here.

    Hope this helps

1 Reply

  • collinsg's avatar
    collinsg
    Solution Sage

    Good day Inacio,

    I fear the answer may be that Oracle does not support EnableFolding=true. I wrote up some notes on this here.

    Hope this helps