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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Puja_Kumari25
Helper III
Helper III

To change what if parameter value based on slicer

Hi All, 

I have a slicer (type), In which we have two values A and B. When we select  A, what if the parameter value should be  0 in the slicer & select B then it needs to show 30 in the slicer.

 

we have created the What-if parameter 

Payment = GENERATESERIES(0, 30, 5)
Payment Value = SELECTEDVALUE('Payment'[Payment], 30)
 
Thank you
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @Puja_Kumari25 

May I ask if you have solved your problem? According to your description, you want to realize that the parameter changes with the slicer selection, I created this visual object and parameter, you can refer to use it.

vyaningymsft_4-1710836555163.png


vyaningymsft_1-1710836501127.png

vyaningymsft_2-1710836525637.png

Model view:

vyaningymsft_5-1710836592878.png


Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi, @Puja_Kumari25 

May I ask if you have solved your problem? According to your description, you want to realize that the parameter changes with the slicer selection, I created this visual object and parameter, you can refer to use it.

vyaningymsft_4-1710836555163.png


vyaningymsft_1-1710836501127.png

vyaningymsft_2-1710836525637.png

Model view:

vyaningymsft_5-1710836592878.png


Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.