Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
OK, I've read a little bit about this error but wasn't able to find anything exactly equivalent to what I am running into. Basically, all I was trying to do was add a global parameter so that I could easily change the source of my Folder ingest path.
This query works great:
let Source = Folder.Files("c:\powerbi\dev\Ingest\Monthly\FN"), #"Invoke Custom Function1" = Table.AddColumn(Source, "Transform File from Test (2)", each #"FN Transform File"([Content])), #"Renamed Columns1" = Table.RenameColumns(#"Invoke Custom Function1", {"Name", "Source.Name"}), #"Removed Other Columns1" = Table.SelectColumns(#"Renamed Columns1", {"Source.Name", "Transform File from Test (2)"}), #"Expanded Table Column1" = Table.ExpandTableColumn(#"Removed Other Columns1", "Transform File from Test (2)", Table.ColumnNames(#"FN Transform File"(#"FN Sample File"))), ...
The minute I do this (referencing a parameter in the Source line:
let Source = Folder.Files(#"Root Path" & "\Ingest\Monthly\FN"), #"Invoke Custom Function1" = Table.AddColumn(Source, "Transform File from Test (2)", each #"FN Transform File"([Content])), #"Renamed Columns1" = Table.RenameColumns(#"Invoke Custom Function1", {"Name", "Source.Name"}), #"Removed Other Columns1" = Table.SelectColumns(#"Renamed Columns1", {"Source.Name", "Transform File from Test (2)"}), #"Expanded Table Column1" = Table.ExpandTableColumn(#"Removed Other Columns1", "Transform File from Test (2)", Table.ColumnNames(#"FN Transform File"(#"FN Sample File"))), ...
I get the error on the "Expanded Table Column 1" line. Even after reading about this error in a couple blog posts, I do not see how I am running afoul of the formula police and how to fix it.
Any suggestions out there?
Solved! Go to Solution.
I had exactly the same issue. Seems like a valid use case to me. I had to turn off the privacy checking to make it work.
I had exactly the same issue. Seems like a valid use case to me. I had to turn off the privacy checking to make it work.
I had the same issue and tried turning off privacy checking. it works in desktop but when i publish to service...it does not work and throws same error. any suggestions?
@Anonymous did you find any solution for this?
Thanks Matt, at least I'm not crazy!!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
96 | |
81 | |
74 | |
66 |
User | Count |
---|---|
126 | |
106 | |
105 | |
86 | |
72 |