Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Tabular Editor - Calculation groups

Hi Team,

 

When I started to use Calculation groups and enabeled Tabular Editor + created one calculation group in my data model, I started to experience one issue.

 

Prior any implementation of calculation groups, I could use default count,distinct count, etc. calculation when I drag and drop it to my canvas.

 

Archonik_1-1597044566379.png

 

After creating one calculation group and using it in my model, I am not able to use any default calculation anymore. Please see the printscreen of the same drop down for same column bellow. The same is applicable for any other column in data model.

 

Archonik_0-1597044480051.png

 

Thanks for your help,

 

J.

 

2 ACCEPTED SOLUTIONS
marcorusso
Most Valuable Professional
Most Valuable Professional

It is not a bug, it is by design.

Calculation groups are not compatible with implicit measures.

It is described in the documentation, too:

https://docs.microsoft.com/en-us/analysis-services/tabular-models/calculation-groups?view=asallprodu...

 

When you enable calculation groups, Tabular Editor enables the Model option Discourage Implicit Measure.

If you remove all the calculation groups, you can restore that property to False to enable implicit measures again.

However, it is a best practice to only expose explicit measures in a Tabular model.

If you use Tabular Editor, you can find macros to quickly create measures from numeric columns: 
https://github.com/otykier/TabularEditor/wiki/Useful-script-snippets

View solution in original post

marcorusso
Most Valuable Professional
Most Valuable Professional

9 REPLIES 9
Anonymous
Not applicable

@marcorusso Thank you so much for posting this solution. I clicked on create calculation group in TE 2 by mistake, which I removed but completely forgot about it. Later on when my numbers stopped auto aggregations and I couldn't figure out why. Took quite a time to figure that the property needs to be set to False, thanks to your post.

marcorusso
Most Valuable Professional
Most Valuable Professional

It is not a bug, it is by design.

Calculation groups are not compatible with implicit measures.

It is described in the documentation, too:

https://docs.microsoft.com/en-us/analysis-services/tabular-models/calculation-groups?view=asallprodu...

 

When you enable calculation groups, Tabular Editor enables the Model option Discourage Implicit Measure.

If you remove all the calculation groups, you can restore that property to False to enable implicit measures again.

However, it is a best practice to only expose explicit measures in a Tabular model.

If you use Tabular Editor, you can find macros to quickly create measures from numeric columns: 
https://github.com/otykier/TabularEditor/wiki/Useful-script-snippets

Anonymous
Not applicable

Wait, why?

Pardon my ignorance, but I find implicit measures genuinely assist me in assessing the precise filters and calculations applied in a visual. You mentioned in your "7 Reasons DAX is not easy" video that as a functional language, it can be difficult to assess the execution sequence of DAX code. It seems like the GUI experience afforded by implicit measures provides an intuitive and simple means of assessing execution order. 

Personally, I wish could convert cards (and possibly other visuals) with their associated filters directly to DAX code in a single click, as is possible with the SQL query view available in Access.

i just ran into this issue myself this morning when trying to modify a report with a basic mom and yoy calculation group.

 

gald i found this post by googling error: DiscourageImplicitMeasures

 

thank you for helping me understand this a bit more in tabEd 

Anonymous
Not applicable

Hi Marco,


Thank you very much for you detail explanation of the designed behaviour.


Would you be please so kind to just add few print screens how to restore the property to False in order to get the implicit measure working again?


Thank you,

 

J.

marcorusso
Most Valuable Professional
Most Valuable Professional

abc.png

v-yingjl
Community Support
Community Support

Hi @Anonymous ,

Based on your description, I can reproduce it in my environment. Seems like a normal phenomenon if the there has sigma field in the table after creating a calculation group but not certain. Need further confirmation whether it is a bug or how it works. I would suggest you to create a support ticket for faster help if it is urgent for you.

Support Ticket.gif

 

Best Regards,
Yingjie Li

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

 

amitchandak
Super User
Super User

@Anonymous , if these are measures you will not have the option for aggregations. You only get this option for columns

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak, unfortunatelly the column which I specified on the print screen is really column and not meausre.

 

Please see the print screen of the column from the table bellow.

 

Archonik_0-1597071652651.png

 

The problem which was specified in my first post influence any column which I try to use in my calculations.

 

The common factor for this issue is installed tabular editor and used calculated group in the Data model.

 

Thanks,


J.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.