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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
8eon145
Frequent Visitor

Count measure producing values greater than 1

8eon145_0-1691513902464.png

8eon145_1-1691514111607.png

 

 

I'm using measures ONLY and don't have access to the dataset because my data is live connection. Basically for all the 4's, I want them to be 1. How do I count them indivudally and not group them if they have the same value in the first column?

 

 

1 ACCEPTED SOLUTION

You cant replace values from a measure , you need to make a new measure with conditions if you want the 1 count included just add [count] >=1 isntead of only the > or change the whole measure from the start to just state your conditions and return 1 else blank

View solution in original post

5 REPLIES 5
eliasayyy
Memorable Member
Memorable Member

Why not just make a condition instead of using count? Like if criteria meets your conditions then return 1 else 0

Like using the IF function on the measure? I need the replace the value of the count if it meets the condition that it is greater than 1. Can I replace the value of the count (4 --> 1)? 

I mean yes you could say 

If([your count measure] >0 , 1)

Thanks for your reply. I've tried that but it doesn't necessary replace the value of the count. Instead, it just attaches a column to my table visualization. How do I replace the count value? 

8eon145_0-1691518838000.png

 

You cant replace values from a measure , you need to make a new measure with conditions if you want the 1 count included just add [count] >=1 isntead of only the > or change the whole measure from the start to just state your conditions and return 1 else blank

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.