Forum Discussion

RobertUrbanski's avatar
RobertUrbanski
Frequent Visitor
5 years ago
Solved

Not able to Count or Distinct Count attribute values in Power BI Desktop after using Tabular Editor

I am no longer able to count the values of an attribute in any table now that I started using Calculation Groups in Tabular Editor via Power BI Desktop.  

Here is a picture illustrating what I could do before creating a Calculation Group in Tabular Editor:

 

Here is a picture illustrating the lost capability after creating a Calculation Group in Tabular Editor:

 

Has anyone experienced this same problem? Note the Calculation Group, and corresponding Calculation Items, do not use values from the example above.  It seems the capability of counting values is completely removed from Power BI Desktop.  I even changed the Summarize By value in Tabular Editor for the field and it still did not work.  See Tabular Editor screenshot below for reference.

 

5 Replies

    • TraleeHandy's avatar
      TraleeHandy
      Frequent Visitor

      Thank you so much ! I thought i was going insane. I had two stacked column charts that appeared identical and yet were not giving the same result.

       

      Seamus

       

  • v-henryk-mstf's avatar
    v-henryk-mstf
    Icon for Community Support rankCommunity Support

    Hi RobertUrbanski ,


    I did the following test and found that once you create a calculation group in tabular editor, we will no longer see implicit measures. Explicit measures need to be created manually. For details, please refer to the official documents.

     

     

    Best Regards,
    Henry


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • RobertUrbanski , As far as I remember, once you did modification the tabular edition(calculation group) you have to create measure /change aggregation from there. You will not be able to change aggregation in power bi.

  • RobertUrbanski yes, once you have added a calculation group, you cannot use implicit measures anymore,  you have to write explicit measures.

     

    Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.