The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
126 | |
107 | |
87 | |
65 | |
60 |
User | Count |
---|---|
257 | |
121 | |
117 | |
100 | |
79 |