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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi All,
I would like to know if we can dynamically calculate column values in powerbi based on user selection
For example,
If user selects 1 from the selection filter, then my Result column should calculate as 'Col_A * 1'
whereas if user selects 0 from the selection filter, then my Result column should calculate as 'Col_A * 0'
Thanks in advance!
Solved! Go to Solution.
Hi, @Kavitha10
Please check the below picture and the measure.
The sample pbix file's link is down below.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Hi, @Kavitha10
Please check the below picture and the measure.
The sample pbix file's link is down below.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Awesome, it worked! Thanks much.
User | Count |
---|---|
97 | |
78 | |
77 | |
48 | |
26 |