Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Hey all,
When trying to get query folding to work using the Value.NativeQuery() function, an error is coming up that I'm having trouble deciphering considering there is not reference to it:
Does anyone know why this error is coming up in context of querying an SAP BW? There are plenty of examples of this function with SQL, but couldn't find anything with BW. In addition, a general tutorial in using NativeQuery with SAP BW would be a unique blessing since material is sparse. Code is below.
This error comes up when trying to edit an "Added Items" step in PBI:
Here is the offending Native Query line
= Value.NativeQuery(PM_M001,"SELECT
{
[Measures].[5KJLXASDLJK67ASDJH]
}ON 0,
NON EMPTY DISTINCT(
[PMORDER].[LEVEL01].ALLMEMBERS
)
PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME, [PMORDER].[2PMORDER], [PMORDER].[5PMORDER], [PMORDER].[20ABCINDIC], [PMORDER].[40ABCINDIC], [PMORDER].[20ACTFINISH], [PMORDER].[20ACTSTARTDT] ON 1
FROM [PM_M001/PBI_PROINIT_V2] CELL PROPERTIES VALUE", null, [EnableFolding=true])
Solved! Go to Solution.
Unfortunately, the EnableFolding parameter works only in SQL Server and Postgres.
--Nate
Unfortunately, the EnableFolding parameter works only in SQL Server and Postgres.
--Nate
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
User | Count |
---|---|
16 | |
14 | |
8 | |
8 | |
7 |