Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Counting data results and creating new columns

Hi,   I have some JSON data which I have somewhat formatted and have ended up with the following columns.. Now I would like to identify which user(s) have more than one asset and then ha...
  • mahoneypat's avatar
    mahoneypat
    6 years ago

    So it is working, you just have lots of values.  Here are two suggestions to deal with that.

     

    1. Turn off subtotals in your visual.  Also, if not already, add the User field to the visual.

     

    2. Only concatenate when there are a reasonable # of values like thisAsset List =
    VAR assets =
    VALUES ( Table[Asset Tag] )
    RETURN
    IF (
    COUNTROWS ( assets ) <= 5,
    CONCATENATEX ( assets, Table[Asset Tag], ", " ),
    "More than 5 assets"
    )

     

    If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

    Regards,

    Pat