Forum Discussion

jrodriguez's avatar
jrodriguez
Regular Visitor
10 years ago
Solved

Level of Detail Calcs

Hey Guys,   For those familiar with Tableau.....does Power BI have a way to do level of detail calculations?   http://www.tableau.com/LOD-expressions.   Any help would be appreciated.  ...
  • Greg_Deckler's avatar
    10 years ago

    Yes, in Power BI this is done through DAX filter expressions combined with measures, for example:

     

    = CALCULATE( SUM('ResellerSales_USD'[SalesAmount_USD]),ALL('ResellerSales_USD'))

     

    A measure defined this way would give you the SUM of [SalesAmount_USD] regardless of any visual-level filters/selections. There are a number of these types of filter functions, ALL, ALLEXCEPT, etc.