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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Using Parameters to Select top N records from the database

I am trying to use a Parameter to control the number of records that are fetched from the database to the data model.

The intention is to use this to reduce the number of records being returned in desktop compared to when we have published to the service.

Does anyone know if this is possible, and if so what is the syntax.

Thanks,

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I solved my own question - you can incorporate parameters as you build a string.
The bit I had missed is that your parameter must be of type Text.

View solution in original post

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hello

Happy to see you solve your problem and share it with us.

 

Regards

Maggie

Anonymous
Not applicable

I solved my own question - you can incorporate parameters as you build a string.
The bit I had missed is that your parameter must be of type Text.

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.