Forum Discussion

JuradoKevin14's avatar
JuradoKevin14
Frequent Visitor
2 years ago
Solved

Selected Value dax Query

I have this data but not sure on how to do the dax on this. Thank you on whoever can help me.
  • danextian's avatar
    danextian
    2 years ago

    A measure doesn't create rows so you won't be able to have those tabular lists. If the calculated table on your end, doesnt  give you the correct order, you can just create two extra columns to kind of select the should be column values.

    Sort2 = 
    IFERROR ( VALUE ( NewTable[Sort] ), VALUE ( NewTable[Carrier] ) )
    
    Carrier2 = 
    IF (
        NewTable[Sort] = NewTable[Type],
        NewTable[Type],
        NewTable[Carrier]
    )