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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
mehupbi
Frequent Visitor

On Selection, values are not changing calculated column value

Here is my PBIX file https://filetransfer.io/data-package/hhXShkwY#link

I have parametered table and main table. I kept the parametered table values in slicer and created calculated column to switch value with conditional logic.

plant_and_name =
  VAR SelectedViewValue = [SelectedView]
  RETURN
     IF (
        SelectedViewValue = "sample",
        [plant_country],
        [plant_name]
    )
 
Note working. Please help me 
1 ACCEPTED SOLUTION
PijushRoy
Super User
Super User

Hi @mehupbi 

I have created a measure and it is perfectly working. Please find the measure and update the measure logic if needed.

PijushRoy_1-1719420844235.png
PijushRoy_2-1719420861515.png

Please find the PBIX file


 


Let me know if that works for you


If your requirement is solved, please make THIS ANSWER a SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.

Thanks
Pijush
Linkedin




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





View solution in original post

1 REPLY 1
PijushRoy
Super User
Super User

Hi @mehupbi 

I have created a measure and it is perfectly working. Please find the measure and update the measure logic if needed.

PijushRoy_1-1719420844235.png
PijushRoy_2-1719420861515.png

Please find the PBIX file


 


Let me know if that works for you


If your requirement is solved, please make THIS ANSWER a SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.

Thanks
Pijush
Linkedin




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors
Top Kudoed Authors