Which DAX function should be used to calculate the ratio of a subcategory sales to the total sales regardless of any category filter?

Power BI Medium

Power BI — Medium

Which DAX function should be used to calculate the ratio of a subcategory sales to the total sales regardless of any category filter?

Key points

  • ALL(Category) specifically removes category filters
  • CALCULATE allows for filter modification
  • REMOVEFILTERS removes all filters, not just category
  • ALLSELECTED considers all selected values, not just categories

Ready to go further?

Related questions