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

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.

Reply
mattcarter865
Helper I
Helper I

Field Parameters - Error when converting from live connection to directquery

I know it's preview feature so there are bound to be bugs; That's why I'm bringing it up here.

 

I set up a Field Parameter list of measures in a shared published dataset. Then I create a thin report with a live connection to it. Field parameters work fine.

Then I change the thin report to use DirectQuery over PBI Datasets and AS connection, and the field parameter no longer works.

 

It seems this is caused by the fact that the JsonExtendedProperty on the fields column of the field parameter table does not propogate through to the local model when you switch it to DirectQuery. If you use Tabular Editor to add that property back in, it works again.

Field Parameters in Tabular Editor – Dobbs On Data

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @mattcarter865 ,

 

Thanks for sharing.

 

Best Regards,

Jay

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

View solution in original post

2 REPLIES 2
agusmba
Advocate II
Advocate II

Hi @v-jayw-msft.

 

I'm suffering Matt's same problem with PBI Desktop (november 2022) (Composite model againsts two published PBI datasets with field parameters, not working in the new report).

Do you know if this issue is being worked on?

Or should I just try Matt's workaround with Tabular Editor?

 

BTW, the "JsonExtendedProperty on the fields column of the field parameter table" is not present in the original published model, maybe the internals have changed?

NVM, I was not seeing the extended properties in TE. Kudos @mattcarter865 for posting the workaround!

 

Thanks!

   Agustín.

v-jayw-msft
Community Support
Community Support

Hi @mattcarter865 ,

 

Thanks for sharing.

 

Best Regards,

Jay

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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