Forum Discussion

Heinrich's avatar
Heinrich
Icon for Post Partisan rankPost Partisan
2 years ago
Solved

Countax Example

Hello I would like to calculate the quantity with countax.   The goal is to have the total of the rows where in the column A of table there are the valuse A and B. The result should be in this ex...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Heinrich ,

     

    Thanks for the reply Greg_Deckler , it is an important step forward in resolving the issue.

     

    I used the example data you provided and selected Create a measure in the Data view.

     

     

    Please try:

    count = 
    CALCULATE(
        COUNTAX('Export_User_Global', 'Export_User_Global'[Application]),
        FILTER(
            'Export_User_Global',
            'Export_User_Global'[Application] = "Teams Classic" || 'Export_User_Global'[Application] = "New Teams Client"
        )
    )

     

    The page effect is shown below:

     

    If you have any other questions please feel free to contact me.

     

    The pbix file is attached.

     

    Best Regards,
    Yang
    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!