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
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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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