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
Jodes
Helper II
Helper II

Filtered Value - counting a field multiple times

I'm trying to create a count of the Status field that I have shown below for each category: Under Construction, Presale, Complete, etc. Each is displayed 6 times in my data, so my measure is currently counting it 6 times when I create my Count measure. How can I get it to only count each row only once? Or can I get the measure to divide by 6 afterwards?


Here's my measure: 

 

Count of Status for NEW for Monday, December 31, 2018 =
CALCULATE(
    [Count of Status for NEW],
    'Data by Bedrooms'[Date] IN { DATE(2018, 12, 31) }
)

 

Count.JPG

 

 

1 REPLY 1
Ashish_Mathur
Super User
Super User

Hi,

You have not shared anough information.  Create a Matrix visual.  Drag Category to the row labels and Status to the column labels.  Create a slicer of month from the Calendar Table and select any one month.  Write this measure

=COUNTROWS(Data)

Hope this helps.


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

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.