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 no duplicate values in my data set and have 66 rows

 

abc_777_0-1686308535925.png

 

but when doing COUNTROWS or  COUNTX  it shows  me 32 count. 

 

Count Holidays in a year = COUNTROWS('bm_retail_t calendarific_calendar_api')

Count Holidays in a year = COUNTX(calendarific_calendar','bm_retail_t calendarific_calendar'[name])
 
i have found that ihave same name in data view that doent count when i do visual. 
please help me so i cal see all 66 rows even name with same name
 
 
by the way i should mention i dont have any sale data some rows. but i want to show them is it possible?
 
thanks
2 REPLIES 2
Ritaf1983
Super User
Super User

Hi @abc_777 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

I am using a card visual and dont want to any filter except to that table from where i get the column to card visual.

I know there is a edit intraction in power bi but i want measure not to filter to card visual except its table

 

Count Holidays in a year = calculate(COUNTROWS('bm_retail_t calendarific_calendar_api'), all(bm_retail_t calendarific_calendar_api)

 

please help me

thx

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.