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

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

Reply
mrtn
Helper II
Helper II

Setting a minimum number of rows when grouping, combined with time slicer

Hi!

 

I have grouped data, and want to plot the average for each group. For a given group, I do not want to plot the average if the number of rows is less than a given value, say 100. 

 

In addition, I want to use a time slicer, such that the user is able to update the plot for a given time range.  Using summarizecolumns() hence does not work, as it outputs a static table. 

 

My data has three columns, 1) Timestamp 2) Value 3) Group. The number of groups is high, such that manual operations should be avoided. 

 

Any ideas?

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @mrtn

Let me confirm your requirements:

For example:

For group a, it's "value" field has 40 rows (less than 100), so we don't plot the average of group a.

 

Right?

 

Best Regards

Maggie

 

Hi again, 

 

I think the issue could be resolved by changing the ouput of the summarizecolumns columns command to be a non-static table. I believe this could have other uses as well. 

 

@v-juanli-msft 

 

Regards, 

Morten 

@v-juanli-msft, you are correct.

 

I do not want to plot the averages when the number of rows is less than say 100, as I think the estimates will be too noisy. I may want to use the same logic when plotting standard deviations or other statistical measures. 

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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