Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
Will be very happy if someone can help me
I need in last column (Freight) to be displayed first non blank value from columns (2022, 2021, 2020, 2019). I am struggling how to write it correct in DAX
Table:
what I need to get:
Thank you in advance
Solved! Go to Solution.
@Anonymous ,
if(not(isblank([2022 freight])),[2022 freight],
if(not(isblank([2021 freight])),[2021 freight],
if(not(isblank([2020 freight])),[2020 freight],
if(not(isblank([2019 freight])),[2019 freight]))))
@Anonymous ,
if(not(isblank([2022 freight])),[2022 freight],
if(not(isblank([2021 freight])),[2021 freight],
if(not(isblank([2020 freight])),[2020 freight],
if(not(isblank([2019 freight])),[2019 freight]))))
@Anonymous , Try like
coalesce([2022 freight],[2021 freight], [2020 freight], [2019 freight])
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
25 | |
18 | |
17 | |
17 | |
16 |
User | Count |
---|---|
28 | |
27 | |
18 | |
14 | |
14 |