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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
abc_777
Post Prodigy
Post Prodigy

hi

hi,

 

I have reg_no column where vehicle registration are there.

I count them. but my total shows 1.

 

i want to count and then total need to show as sum of total count

nswer would be 35 (total of count)

 

please help

 

Sorry i have to mark red as this is sensitive data

 

abc_777_0-1670504764023.png

 

 

thanks 

1 ACCEPTED SOLUTION

i do

 

CALCULATE(COUNT('bm_retail_t vehicle'[REG_NO]), ALL('bm_retail_t ssummary'[CUSTOMER_NAME]))
 
but no luck. would be able to give me a simple sample ile for grand total please if possible
 
thanks

View solution in original post

2 REPLIES 2
djurecicK2
Super User
Super User

Hi @abc_777 ,

 The reason the count is 1 is becuase that is the count for each individual customer. If you want to show the total for all customers, you can use ALL(Tablename) as a filter in your measure:

https://learn.microsoft.com/en-us/dax/all-function-dax

 

i do

 

CALCULATE(COUNT('bm_retail_t vehicle'[REG_NO]), ALL('bm_retail_t ssummary'[CUSTOMER_NAME]))
 
but no luck. would be able to give me a simple sample ile for grand total please if possible
 
thanks

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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