Forum Discussion

MPRGray's avatar
MPRGray
Advocate I
7 years ago
Solved

Combine Calculated numerical column with text formatted unit column

I am trying to use this to track progress for concrete installation. Each individual piece of concrete has it's own row in the table. I have found a workaround in case I can't find a solution here, b...
  • ChrisMendoza's avatar
    ChrisMendoza
    7 years ago

    MPRGray -

     

    I hope someone comes up with a better solution. Creating a new table using GROUPBY ( CALCULATETABLE ( ) )  what I came up with:

     

    Table =
    GROUPBY (
        CALCULATETABLE (
            TableName,
            TableName[CIP Concrete Install Status] = "3) Poured/Finished"
        ),
        TableName[Activity ID],
        TableName[Unit],
        "Total", SUMX ( CURRENTGROUP (), TableName[CIP Poured/Finished] )
    )

     

    https://dax.guide/groupby/

    https://dax.guide/calculatetable/