Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi All,
I need DAX to return the first non null column cycling through 3 columns, they childs of each other. So starting at GEN_3 as its the lowest child.
e.g [currency Gen_1],[currency Gen_2],[currency Gen_3]
AUD BGN NULL
USD NULL NULL
CAD EUR HKD
so the column would return currency = BGN
USD
HKD
Thanks for any assistance.
Solved! Go to Solution.
What about this ?
Measure =
IF (
NOT ( ISBLANK ( [currency Gen_1] ) ),
[currency Gen_1],
IF ( NOT ( ISBLANK ( [currency Gen_2] ) ), [currency Gen_2], [currency Gen_3] )
)
What about this ?
Measure =
IF (
NOT ( ISBLANK ( [currency Gen_1] ) ),
[currency Gen_1],
IF ( NOT ( ISBLANK ( [currency Gen_2] ) ), [currency Gen_2], [currency Gen_3] )
)
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 6 | |
| 5 | |
| 5 |