Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

How to make a fixed based on a row

Hi, I am needing to make a measure that stays static based on a row. Example: I have a measure that calculates a rate based on categories and vendors. I need to create a measure name "Category ...
  • MartijnW's avatar
    4 years ago

    Hi Svallejo,

     

    As a tip for your next question: in the case you are working with sensitive information, it helps to recreate the specific issue with dummy data, in order to explain the issue you are facing better.

     

    To summarize your question:

     

    You are looking for a way to circumvent the context filters that are applied to the column you want to sum.

     

    A possible solution would be to use the DAX function ALL(). See this link for more information and a working example: https://docs.microsoft.com/en-us/dax/all-function-dax

    If this solves your problem, please accept it as a solution. If it doesn't, please provide us with a more detailed description, the measures, and a screenshot of what you're dealing with. You can either blur out the sensitive information, or recreate the problem using dummy data. A good way would be to use a sample dataset that is available for use in the Power BI Service environment.

     

    Kind Regards,

    Martijn Wijnands