Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello, I appreciate your great help to the following query:
I am making a formula to compare the gaps of three columns and that the result returns the value of any of the columns, but I am getting erroneous results.
Attached formula and image with formula.
Solved! Go to Solution.
I think the logic here is wrong. I think you wanted to take that value if not blank.
UNION_FECHAS =
SWITCH(TRUE(),
NOT(ISBLANK('SQVI@TD1'[SE16N])),'SQVI@TD1'[SE16N],
NOT(ISBLANK('SQVI@TD1'[MB25])),'SQVI@TD1'[MB25],
NOT(ISBLANK('SQVI@TD1'[SQVI])),'SQVI@TD1'[SQVI]
)
Note that you need to change the order by yourself.
Your formula was: if the column is blank, give me that.
My formula is: if the columns is not blank, give me that.
Proud to be a Super User!
Thanks a lot!!! Case solved.
I think the logic here is wrong. I think you wanted to take that value if not blank.
UNION_FECHAS =
SWITCH(TRUE(),
NOT(ISBLANK('SQVI@TD1'[SE16N])),'SQVI@TD1'[SE16N],
NOT(ISBLANK('SQVI@TD1'[MB25])),'SQVI@TD1'[MB25],
NOT(ISBLANK('SQVI@TD1'[SQVI])),'SQVI@TD1'[SQVI]
)
Note that you need to change the order by yourself.
Your formula was: if the column is blank, give me that.
My formula is: if the columns is not blank, give me that.
Proud to be a Super User!
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.