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! Learn more

Reply
krishanw
Helper II
Helper II

Calculate If selected string values are True.

I want to calculate if the work type is equal to "Done" ,"Resolved" or "Verified" then the formula

 

ex: Work Type = Done or Resolved or Verified then 50*05

2 REPLIES 2
TomMartens
Super User
Super User

Hey @krishanw ,

 

unfortunately, I'm not able to provide some help because I miss information like:

  • the selection of the mentioned string values is happening by a (multi)-select slicer
  • the selection is happening inside a row context, because you are talking about creating a calculated column
  • the expected result is very unclear, as from 50*05 it is not clear what 05 is, if it is a typo and you are meaning 0.5 why you specify a multiplication and not a simple constant
  • most importantly you did not specify if you want a calculated column or measure.

Please, provide more information to get your question answered quickly, this also honors the time of all the members in this community.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

  • the selection of the mentioned string values is happening by a (multi)-select slicer= values coming from a table it's returning the state of the task 
  • the expected result is very unclear, as from 50*05 it is not clear what 05 is, if it is a typo and you are meaning 0.5 why you specify a multiplication and not a simple constant = I mentioned here an example, expecting to return result as below
    "'Efficiency Matrix'[Efficency Rating Total]/[TaskCount]"
     
    • most importantly you did not specify if you want a calculated column or measure= I want to calculate a measure 
     I want to create a measure if the task state is equal to done, resolved, or verified then this formula "'Efficiency Matrix'[Efficency Rating Total]/[TaskCount]"
     
     
     

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.

Top Solution Authors