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
wangjuan303
Helper III
Helper III

How to create measure to show group total without detail filter

I need to create a report showing the ID and detail, also need to show how many details for this ID .

when I show a report without detailed information, it will show the right count.

when I show detailed information, the count will show 1, 

I need to create a measure to let this count always show the total without a detail filter, 

Do you have any idea? Thank you ,

like under the screenshot example, I need count by ID column for 111 always show 2, count for 114 always show 3.

count by ID number should match with right table example. 

wangjuan303_0-1686700314935.png

 

1 REPLY 1
Ashish_Mathur
Super User
Super User

Hi,

Drag this measure

Measure = calculate(countrows(Data),all(Data[Detail]))

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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