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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Hakko2024
New Member

Pulldown Menu

Currently, I am trying to create a function in Power BI Report Builder that selects a name in the parameter after "Home" → "Run" and selects one person's name in the Pulldown Menu, which will be displayed under the "Certifier Name" text in the report. I'm trying but it's not working. The data set contents are

===============
SELECT DISTINCT
Table_6.Name
FROM
Table_6

===============

The contents of Table_6.Name are PersonA, PersonB, PersonC, and PersonD.

The parameter properties are set by selecting "Available values" → "Get value from query".

The report opens fine and I can select a name in the pulldown menu, but when I press "View report" only PersonA is displayed. I select PersonB, but only PersonA is displayed.

Could you please tell me?

@Pulldown

2 ACCEPTED SOLUTIONS
v-yohua-msft
Community Support
Community Support

Hi, @Hakko2024 

I create a sample table:

vyohuamsft_0-1728629417572.png

 

Then Importing data sets

vyohuamsft_1-1728630263073.png

 

In Power BI Report Builder, right-click Parameters and select Add Parameter. Set the parameter name to CertifierName.

vyohuamsft_2-1728630314205.png

vyohuamsft_3-1728630326815.png

 

Also make sure that the parameter doesn't depend on itself, and in the parameter properties, make sure that the Available Values tab isn't set to depend on the Dataset1 value. You need to create another DataSet2 dataset, just like the first dataset. Then let the argument reference the content in DataSet2

vyohuamsft_4-1728630645253.png

vyohuamsft_5-1728630660030.png

In Report Designer, add a text box that displays the selected name. Set the expression for the text box to:

=Parameters!CertifierName.Value

vyohuamsft_6-1728631151181.png

Select Run, when you select Parameter, the text will show what you choose, here is my preview

vyohuamsft_7-1728631244767.png

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hi, @Hakko2024 

You can use the table visual directly. I've added the relevant data you mentioned to the original data, which is my current example table.

vyohuamsft_0-1729844925896.png

To create parameters, you can create them in DataSet1. Go to Query Design and create a filter with the Parameter option ticked.

vyohuamsft_1-1729845369234.png

vyohuamsft_2-1729845397364.png

vyohuamsft_3-1729845429390.png

 

Change the parameter setting to DataSet2.

vyohuamsft_4-1729845460582.png


Then you just need to create a Table visual, then pull your fields in and hit run. Selecting a parameter displays information about that user.

vyohuamsft_5-1729845487963.png

vyohuamsft_6-1729845502345.png

vyohuamsft_7-1729845524746.png

vyohuamsft_8-1729845533791.png

You can learn more from the following links:

Build a Query in the Relational Query Designer (Report Builder and SSRS - SQL Server Reporting Servi...

Tutorial: Create a basic table report (Report Builder) - SQL Server Reporting Services (SSRS) | Micr...

Report Builder tutorials - SQL Server Reporting Services (SSRS) | Microsoft Learn

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Hakko2024
New Member

Previously, I was introduced to a system that allows me to select a specific person's name

from the parameter pull-down menu and display the selected person's name in text.

image.png

 

 

Next, what I would like to achieve is to display the IDNo, Email, and Signature associated with a specific person selected by @name.

 

Is it possible with Textbox?

Please let me know if there is any other possible method.

Hi, @Hakko2024 

You can use the table visual directly. I've added the relevant data you mentioned to the original data, which is my current example table.

vyohuamsft_0-1729844925896.png

To create parameters, you can create them in DataSet1. Go to Query Design and create a filter with the Parameter option ticked.

vyohuamsft_1-1729845369234.png

vyohuamsft_2-1729845397364.png

vyohuamsft_3-1729845429390.png

 

Change the parameter setting to DataSet2.

vyohuamsft_4-1729845460582.png


Then you just need to create a Table visual, then pull your fields in and hit run. Selecting a parameter displays information about that user.

vyohuamsft_5-1729845487963.png

vyohuamsft_6-1729845502345.png

vyohuamsft_7-1729845524746.png

vyohuamsft_8-1729845533791.png

You can learn more from the following links:

Build a Query in the Relational Query Designer (Report Builder and SSRS - SQL Server Reporting Servi...

Tutorial: Create a basic table report (Report Builder) - SQL Server Reporting Services (SSRS) | Micr...

Report Builder tutorials - SQL Server Reporting Services (SSRS) | Microsoft Learn

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hakko2024
New Member

Dear YongKang Hua

Thank you very much for your prompt reply.

I worked well!! You saved my time and improved my knowledge by you.

v-yohua-msft
Community Support
Community Support

Hi, @Hakko2024 

I create a sample table:

vyohuamsft_0-1728629417572.png

 

Then Importing data sets

vyohuamsft_1-1728630263073.png

 

In Power BI Report Builder, right-click Parameters and select Add Parameter. Set the parameter name to CertifierName.

vyohuamsft_2-1728630314205.png

vyohuamsft_3-1728630326815.png

 

Also make sure that the parameter doesn't depend on itself, and in the parameter properties, make sure that the Available Values tab isn't set to depend on the Dataset1 value. You need to create another DataSet2 dataset, just like the first dataset. Then let the argument reference the content in DataSet2

vyohuamsft_4-1728630645253.png

vyohuamsft_5-1728630660030.png

In Report Designer, add a text box that displays the selected name. Set the expression for the text box to:

=Parameters!CertifierName.Value

vyohuamsft_6-1728631151181.png

Select Run, when you select Parameter, the text will show what you choose, here is my preview

vyohuamsft_7-1728631244767.png

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.