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.
Dear Experts,
Below code is taking more time,Could you please let me know any optimization technics on below code.
Hi @basirve
Have you solved this question with basirve's help? If you have solved the question, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.
If you need more help, please let me know.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @basirve ,
Before optimize it, I would suggest just have a look into these measure_productivity and ProductivityGoalVal but still you can try below code:-
SWITCH (
TRUE (),
OR ( [_productivity], [ProductivityGoalVal] ), BLANK (),
[_productivity] >= [ProductivityGoalVal], "NO",
"YES"
)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
User | Count |
---|---|
97 | |
76 | |
76 | |
47 | |
26 |