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
NandhaKumarPBI
Frequent Visitor

How to make the end user to enter any User ID in organization and filter the results accordingly

 Hi All,

 

I am new to Power BI, I have created a stored procedure with two parameters (UserId, UserName). I created parameters inside power bi using manage parameter and linked in to the query. But, how do i make that to apprear in the dashboard so that all users will have the leverage to enter any username and see the details accordingly.

 

Can you kindly help me as how to make it appear in the dashboard and once the user enters the value in the search box that should fetch to the parameter.

1 ACCEPTED SOLUTION
Jimmy801
Community Champion
Community Champion

Hello @NandhaKumarPBI 

 

create a table with all users (or whatever you want to filter the report with), show it in the visuals, and ue SELECTEDVALUE to extract the selection of the user. Integrate this function into your measures.

Here an example

SumWithFilter = CALCULATE(SUM('Table'[Country]),filter('Table','Table'[Country]=SELECTEDVALUE('Filter'[Country])))


If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

View solution in original post

1 REPLY 1
Jimmy801
Community Champion
Community Champion

Hello @NandhaKumarPBI 

 

create a table with all users (or whatever you want to filter the report with), show it in the visuals, and ue SELECTEDVALUE to extract the selection of the user. Integrate this function into your measures.

Here an example

SumWithFilter = CALCULATE(SUM('Table'[Country]),filter('Table','Table'[Country]=SELECTEDVALUE('Filter'[Country])))


If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

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.

Top Solution Authors
Top Kudoed Authors