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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Input and Output

Hello All,

 

I'm very new to PowerBi. I'm wondering if this is possible in PowerBI and if so, a point in the right direction.

 

Screenshot 2023-08-29 131500.png

 

I have a table with Unique IDs, Models, and Locations. I want the user to choose a single Unique ID and have the table output with all Unique IDs that have the same Model as the Unique ID chosen. My pseudo-code would look like this. 

 

NewColumn=If (model[Input]=model,True,False)

Then create a table based on this NewColumn. 

 

In excel I would do it like this =IF(CellOfTable=VLOOKUP(Input, TableRange, OutputColumn),CellOfTable,"") and remove blanks

Screenshot 2023-08-29 133453.png

Unfortunately, my data is actually much more complex, pulled from a SQL Server, and over 700,000 rows of data. Therefore I'd like to do it in PowerBI, if possible. I think SelectedValue may be used, but I'm not sure how to get the slicer or whatever as an input variable. I'm happy to learn DAX or pull Python out from my undergrad days, but just not sure where to start. 

 

Thanks for any help!

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@Anonymous something similar was done in this video, check it out  How to override slicer selection to return all records | PeryTUS - Power BI How To - YouTube



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Please find attached my PBI file.

Ashish_Mathur_0-1693365254421.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
parry2k
Super User
Super User

@Anonymous something similar was done in this video, check it out  How to override slicer selection to return all records | PeryTUS - Power BI How To - YouTube



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors