Forum Discussion

mmahoney045's avatar
mmahoney045
Regular Visitor
2 years ago
Solved

Create Measure From Virtual Table

Hello,   I am attempting to create a measure that will return the distinct count of a specific type of customer (New Tank Distributor) that is set up in any given year. After attempting simple meas...
  • Daniel29195's avatar
    Daniel29195
    2 years ago

    well, you can t use summarizecolumns in measure 

    try using addccolumns ( summarize ( .. )   instead .

     

    and for the return, just return   aggregation without the {  } .

    the { }  were only needed for the query not to be used in the measure. 

     

    hope this makes sense. 

    mmahoney045