Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
How do I switch a value in a different column based on the selected value in my dropdown?
For example:
Name | Result |
Banana | 0 |
Grape | 0 |
Strawberry | 1 |
Apple | 0 |
When i get the average of the result column it'll be 25%. If I choose Banana from my slicer, how do I get it to change the result column to 1?
Results should be:
Name | Result |
Banana | 1 |
Grape | 0 |
Strawberry | 1 |
Apple | 0 |
New average should bt 50%.
Hi @aprilbanana , you can achieve this by using parameters in Power BI
Paramaters can be found under Modelling tab and you can use numeric range and use that in your DAX
Proud to be a Super User! |
|
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
11 | |
10 | |
9 | |
8 |