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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MonsterJoe
Regular Visitor

Filtering calculation group items

Hi forum.

Does anyone know if it is possible to set up a slicer or filter to do filtration on which calculation group items to show in a report?

That would be some kind of dimension that enables the user to only choose a subset of the items in the calculation group to appear in the report.

Any links to deep knowledge about calc groups would also be appreciated.

Thanks!

 

2 ACCEPTED SOLUTIONS

AlexisOlson
Super User
Super User

Yes, this is possible.

 

As @SpartaBI experienced, I also get an error if I try to create a relationship with a calculation group.

AlexisOlson_0-1650749981643.png

 

However, a workaround is to add a calculated column to the CalculationGroup table and use that column on a slicer.

 

AlexisOlson_1-1650750067208.png

 

Please see the attached as a simple working example.

View solution in original post

12 REPLIES 12
AlexisOlson
Super User
Super User

Yes, this is possible.

 

As @SpartaBI experienced, I also get an error if I try to create a relationship with a calculation group.

AlexisOlson_0-1650749981643.png

 

However, a workaround is to add a calculated column to the CalculationGroup table and use that column on a slicer.

 

AlexisOlson_1-1650750067208.png

 

Please see the attached as a simple working example.

Hi @AlexisOlson 

Really nice approach! I will process in that direction.

BTW - do you guys have any feeling about how large a calc group can be in terms of number of items - with regard to performance? Having the option to group and filter will give great dynamic possibilities (in combination with calc group scripting) - especially if the limit on items is high.

I have not experimented with massive calculation groups, but I don't have any reason to believe that the number of items is particularly important so long as you are only using a limited number at any given time.  Obviously, if you're trying to use lots of items all at once, then you have to actually compute each of them.

Very cool!

@MonsterJoe check out @AlexisOlson solution. 

Didn't believe you can actually add a column to a CG table, so didn't even think of trying that 😆

SpartaBI
Community Champion
Community Champion

@MonsterJoe 
You can use the ordinal column of the calculation group to filter the available Items shown in the report but I don't think as far as I know you can group them. Only to split them to different CG's

Interesting!

Can you elaborate on: You can use the ordinal column of the calculation group to filter the available Items shown in the report

Thank you very much 🙂

  • @MonsterJoe 
    CG's come with the order by column defalut name: "Ordinal". By default it's a hidden column. If you un hide it you can put it in the filter pane and by choosing there you can filter only the related CI's.

SpartaBI_0-1650636114728.png

@SpartaBI 

Okay - I get it. As we have no way to create a relation to the "Ordinal" column there really isn't any grouping or filtering options.

Thanks for clarifying.

@MonsterJoe 
No problem.

SpartaBI
Community Champion
Community Champion

In this aspect it's like any other column. You can put that column in the report / page / visual level filter, only choose the ones you want to be availalbe and hide / lock that filter. Than add another one visible so users could choose from it

That's of course true.

I am looking for a data driven way – i.e. having a large amount of calc items in a calc group - and having the items mapped to a “grouping” attribute in another dimension.

Good one 🙂
I assume you tried creating that dimension and couldn't connect it to the CG table.
Never tried it, and just did, and it's not possible.
Will try to think of it and update if I came up with something or not


Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors