Forum Discussion

Glums's avatar
Glums
Frequent Visitor
2 years ago
Solved

Aggregation not available - weird behavior

Hi everyone,

 

I am having an extremely weird behavior with cards visuals, and I cannot figure out where the problem is coming from

These both views are coming from the exact same source, and I did not change any data type as well.

On the right end side it is a new PBI document and it works as intended - I can get the earliest date of that field

On the left end side I need to see that earliest date but for some unknown reasons it does not let me do so. Note that this table is not linked to any other table, as well as this report page is completely empty, and I do not have filters applied on that report page...PBI tells me "Aggregation can't be applied to data in this field well".

Would you have any idea where this is coming and how I can solve this problem?

 

Many thanks

 

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Glums ,

     

    When you enable calculation groups, Tabular Editor enables the Model option and discourages Implicit Measure. If you remove all the calculation groups, you can restore that property to False to enable implicit measures again.

    To resolve this issue, you can connect to Tabular Editor and set Implicit measures to TRUE. This should make the aggregation available on Power BI Desktop again.

     

    Another possible solution is to try disabling the “Store datasets using enhanced metadata format” option in Power BI Desktop. This feature can cause issues with Tabular Editor, and disabling it may resolve the error message you’re seeing.

     

    Best Regards,

    Neeko Tang

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

6 Replies

  • Glums's avatar
    Glums
    Frequent Visitor

    Some additional information as I try to fix my problem

    On the file where it works as intended (top screenshot) I noticed that I have much more options to select comparatively to the file I'd like to use (bottom screenshot)

    Again these fields are exactly the same, it is really bugging me 😕

     

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Glums ,

     

    I am unable to reproduce your problem, please uninstall and reinstall the latest version of Power BI Desktop.
    If the default aggregation does not work, please consider creating a DAX measure to calculate the earliest date. Then use this measure in the card visual object.

    Measure = MIN('Table'[project end])

     

    Best Regards,

    Neeko Tang

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

    • Glums's avatar
      Glums
      Frequent Visitor

      I investigated for quite a while and the problem seems to be coming from "Discourage Implicit Measures". I clicked on "Calculated Group" to see what it did and it is likely where my problem is coming from.

      I would need to use Tabular Editor to revert but when I try to import  my pbix file to the tool I have an error message "Unable to load tabular model [...] Error: unexpected character encountered while parsing value: P.Path '', line 0, position 0."

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Glums ,

         

        When you enable calculation groups, Tabular Editor enables the Model option and discourages Implicit Measure. If you remove all the calculation groups, you can restore that property to False to enable implicit measures again.

        To resolve this issue, you can connect to Tabular Editor and set Implicit measures to TRUE. This should make the aggregation available on Power BI Desktop again.

         

        Another possible solution is to try disabling the “Store datasets using enhanced metadata format” option in Power BI Desktop. This feature can cause issues with Tabular Editor, and disabling it may resolve the error message you’re seeing.

         

        Best Regards,

        Neeko Tang

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

  • SB3's avatar
    SB3
    New Member

    Iam also having the same issue I just entered the numbers using the enter data options but the aggregation is not available.

    Can any one help me on this.


    Thanks