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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Kumar_0606
Helper I
Helper I

Creating a dynamic parameter with custom list of values

l am a Power BI Beginner, trying to create a dashboard which should filter data on the go.
I imported data from SAP HANA and created a matrix table. My calculation is
IF Steward = "Acc" then IF Account= "Accountable" then “ Amount” End
IF Steward= "Total" then IF Indicator IN ("F","L”) then “Amount” End End.

Steward is a parameter created in tableau with custom values "Acc" and "Total" not a direct field.

Any help would be highly appreciated

1 ACCEPTED SOLUTION

Hi @Kumar_0606 ,

 please try below steps as what I did in the pbix file.

 

 

  1. Sample data lives in FactTable with columns Account, Indicator, Amount.
  2. StewardParam is a small disconnected table with two text values, used in a slicer.
  3. SelectedSteward measure grabs the user’s pick.
  4. StewardedAmount uses SWITCH + CALCULATE to run only the filter logic you want for each mode.
  5. No relationships to manage—just drop the slicer and the measure into your report.

 

View solution in original post

6 REPLIES 6
Kumar_0606
Helper I
Helper I

Thanks Maruthi.

I followed your steps in creating the table and calculations however when I drag simple table with Amount and field, the values are not getting changed in selecting the parameter values.

Am I missing something, pls suggest.

Hi @Kumar_0606 ,

 please try below steps as what I did in the pbix file.

 

 

  1. Sample data lives in FactTable with columns Account, Indicator, Amount.
  2. StewardParam is a small disconnected table with two text values, used in a slicer.
  3. SelectedSteward measure grabs the user’s pick.
  4. StewardedAmount uses SWITCH + CALCULATE to run only the filter logic you want for each mode.
  5. No relationships to manage—just drop the slicer and the measure into your report.

 

V-yubandi-msft
Community Support
Community Support

Hi @Kumar_0606 ,

Thanks for reaching out to the Microsoft Fabric Community. Could you please review the PBIX file shared by @maruthisp  and confirm if it meets your requirements as expected?

 

If it doesn't fully meet your needs, kindly share a few more details about your requirements so we can assist you further..

 

Regards,

Yugandhar.

maruthisp
Super User
Super User

Hi Kumar_0606,

 

I tried to implement the solution for you in the below attached pbix file. Please check it.
Creating a dynamic parameter with custom list of values.pbix

 

Please let me know if you have further questions.

If this reply helped solve your problem, please consider clicking "Accept as Solution" so others can benefit too. And if you found it useful, a quick "Kudos" is always appreciated, thanks! 

 

Best Regards, 

Maruthi 

LinkedIn - http://www.linkedin.com/in/maruthi-siva-prasad/ 

X            -  Maruthi Siva Prasad - (@MaruthiSP) / X

Thanks Maruthi.

I followed your steps and created a table and calculations however when I drag a simple table with Amount and a field the parameter is not filtering the data.

Is there any binding or am I missing something. Pl suggest 

ryan_mayu
Super User
Super User

@Kumar_0606 

could you pls provide some sample data and expected output?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.