This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I created a table to show all possible serial numbers (with type) according to hub & subset. I want to use parameters to allow the end user to filter to the desired number of serial numbers per the hub & subset. I have filters for hub & subset. The end user would supply the number of serial numbers in the parameter field to filter to according to the type of serial number needed. The desired result would be something like: parameter 1 = 10, parameter 2 = 5
parameter 1 =
1
2
3
4
5
6
7
8
9
10
parameter 2 =
1
2
3
4
5
The end user would then export out the table for further use.
Any help would be greatly appreciated.
Solved! Go to Solution.
Create a What-If Parameter
Go to Modeling → New Parameter → Numeric Range
Create:
Parameter 1 (for Type 1)
Parameter 2 (for Type 2)
Power BI will automatically create a slicer, create a measure, connect everything dynamically
Users can:
Select 5, 10, 20, etc.
See rows update instantly
Export the filtered table
No refresh needed.
If this helps, ✓ Mark as Kudos | Mark as Solution| Help Others
Please take a moment to review the details shared by @Murtaza_Ghafoor and confirm whether they align with your expectations. Let us know if you require any additional assistance or clarification.
Regards,
Yugandhar
Create a What-If Parameter
Go to Modeling → New Parameter → Numeric Range
Create:
Parameter 1 (for Type 1)
Parameter 2 (for Type 2)
Power BI will automatically create a slicer, create a measure, connect everything dynamically
Users can:
Select 5, 10, 20, etc.
See rows update instantly
Export the filtered table
No refresh needed.
If this helps, ✓ Mark as Kudos | Mark as Solution| Help Others
Hi @unknown917
Yes, you can do this with parameters in Power Query. Have you try the following
create a DAX:
if [Type] = "Type1" then
List.FirstN(Table.RowCount(AllSerials), Param1)
else if [Type] = "Type2" then
List.FirstN(Table.RowCount(AllSerials), Param2)
else null
Then, Filter to keep only rows where this column is not null.
Result: Users change Param1/Param2 values → refresh → get exactly 10/5 rows per type. Export works perfectly.
🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!
Thank you, @grazitti_sapna .
Unfortunately, the end user will not have the ability to refresh the model. This is to be set as a published report. Is it possible to create a visual parameter that will accomplish the same?
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |