Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Problem creating measures in a measure-table

Hi,   I have a separate Measure table set up and im trying to create measures there to use in my visuals. For some reason I fail to create a percentage measure, that gives the customer's share of t...
  • az38's avatar
    6 years ago

    Anonymous 

    ALL() is a filter function, it's not return any number to divide

    try

     

    Divide(
    [CustomerShareOfSales],
    
    CALCULATE(SUM(SalesInvoices[TotalSum]), ALL(SalesInvoices) )
    )