Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi Everyone,
I want to create a metric which change any result of column Y bigger than 0, and convert this result in 100% and column N to 0%.
This is to do predictions.
I show you an example:
Does anyone have any idea of how to doing it?
Thank you very much for trying to help me!!
Solved! Go to Solution.
Hi @JoanElGran1899 ,
Please create measures:
N Measure = IF(MAX('Table'[Y])>0,0,MAX('Table'[N]))
Y Measure = IF(MAX('Table'[Y])>0||MAX('Table'[Y])=BLANK(),1)
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @JoanElGran1899 ,
Please create measures:
N Measure = IF(MAX('Table'[Y])>0,0,MAX('Table'[N]))
Y Measure = IF(MAX('Table'[Y])>0||MAX('Table'[Y])=BLANK(),1)
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please follow the recommedations outlined in this thread to help us help you:
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Proud to be a Super User!
Paul on Linkedin.