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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Chandrashekar
Resolver III
Resolver III

Summarize function

Hello Team,

 

How to add summarize function to below measures as am using this in Table(am not getting correct total in Table)

 

CALCULATE (

COUNTROWS(Table1), (FILTER( All(Table1), Table1[Priority] = 1 && Table1[Date] =selecteddate && Table1 [Que]=selectedque)),
TREATAS ( CR_tbl, Table1[comp], Table1[Reg] )
)

Regards,

Chandrashekar B

1 ACCEPTED SOLUTION

Hello Amit,

 

Thanks and got the solution.

 

Regards,

Chandrashekar B

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Chandrashekar , summarize will use columns what is there in visual display(grouped/un summarized) , example if comp is used in visual

 

CALCULATE (
sumx(addcolumns(summarize(Table1[comp]), "_1"
COUNTROWS(Table1), (FILTER( All(Table1), Table1[Priority] = 1 && Table1[Date] =selecteddate && Table1 [Que]=selectedque)),
TREATAS ( CR_tbl, Table1[comp], Table1[Reg] ) ),[_1]
))

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

Hello Amit,

am getting incorrect total in Table may I know how to fix this issue. Should I use Summarize in measures or any other way to fix it?

Chandrashekar_0-1642403907535.png

 

@Chandrashekar ,If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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

Hello Amit,

 

Thanks and got the solution.

 

Regards,

Chandrashekar B

Helpful resources

Announcements
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.