The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
A simple question really. I have the following formula:
IF ( ISBLANK ( LOOKUPVALUE (.....) ), "Text", LOOKUPVALUE (.....))
Is there a more elegant way of writing that, or an alternative formula, so that I do not repeat LOOKUPVALUE twice just to get the correct result?
Solved! Go to Solution.
@SevsBo , You can try using variable and instead of calling lookup function two times you can call variable
Proud to be a Super User! |
|
Hi @SevsBo ,
You can try this DAX:
VAR A = LOOKUPVALUE(...)
RETURN
IF(ISBLANK(A),"Text",A)
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @SevsBo ,
You can try this DAX:
VAR A = LOOKUPVALUE(...)
RETURN
IF(ISBLANK(A),"Text",A)
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
@SevsBo , You can try using variable and instead of calling lookup function two times you can call variable
Proud to be a Super User! |
|
User | Count |
---|---|
69 | |
64 | |
62 | |
55 | |
28 |
User | Count |
---|---|
112 | |
81 | |
65 | |
48 | |
38 |