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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
saeidspr
New Member

Create another table with group by from Existing table

Hi, I need to create a dynamic group by table from existing table that is filtering with the slicer, everything I used inclyding summarize table didn't work as slicer can't filter this and the data in group by table is static

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @saeidspr 

Because your name field is filtered by the slicer, so you just need to create two measures.

 

cnt =
COUNTA ( table[id] )
sumAmount =
SUM ( table[Amount] )

 

then put the name field and the teo measures to the visual.

 

Best Regards!

Yolo Zhu

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

 

View solution in original post

3 REPLIES 3
saeidspr
New Member

Hi @Anonymous 

thanks for the reply, consider I have queried the left table from db, that is filtering by some slicer on the date, I need to create a dynamic group by table from main table which is filtering as well by slicer as shown in the right

1.png

Thanks for your time and consideration🙂

Anonymous
Not applicable

Hi @saeidspr 

Because your name field is filtered by the slicer, so you just need to create two measures.

 

cnt =
COUNTA ( table[id] )
sumAmount =
SUM ( table[Amount] )

 

then put the name field and the teo measures to the visual.

 

Best Regards!

Yolo Zhu

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

 

Anonymous
Not applicable

Hi @saeidspr 

You can use measure, measure can change dynamically by the slicer. and you want to create group, what is the group like? Can you provide some sample data and the output you want so that can provide more suggestion for you.

 

Best Regards!

Yolo Zhu

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.