Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
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])
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
21 | |
21 | |
13 | |
12 |
User | Count |
---|---|
43 | |
28 | |
25 | |
23 | |
22 |