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

Count not appearing correct in a table

Hi,

Need help as the Count is not appearing correctly in a table. I have already applied some filters. Below are the measures used:-

 

1) # of Days =
DATEDIFF(LASTNONBLANK(Registration[Scheduled Class Start Date],1),LASTNONBLANK(Registration[Scheduled Class End Date],1),DAY)+1
 
2) Measure 6 = COUNTX(Registration, [# of Days])
When I put the registration number in the table the count appears 330 and if I remove the registration number it appears 1643.
I want to show the numbers without the registration table and ideal result would be 330.
Attached are the screenshots.
 
With Registration.PNGWithout registration.PNG
 
 
1 REPLY 1
MattAllington
Community Champion
Community Champion

You need to post a picture of the data model view, and also make it clear which tables each column comes from



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Helpful resources

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

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.